Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obtaining reference definition
Message
De
24/09/2010 22:27:32
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Titre:
Obtaining reference definition
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01482682
Message ID:
01482682
Vues:
95
How can we define a class in .NET which would be able to support a reference definition such as:
loDataSet.Tables("Temp")
Where loDataSet would be the object created from the class and Tables would be a property of the class but would accept an ID. Basically, I would like to be able to do something like:
llMandatory = oApp.oTable.Table("MyTableName").Field("MyFieldName").Mandatory
So, at initialization, I would read all my tables and populate them into the object. And, for each table, I would do a SQL into the field table to get all the fields with their property.

Presently, I read the data dictionary on request. I would like to load it all into an object at startup. My data dictionary has a Table table and a Field table to serve the purpose. The Table table contains some fields which define the table properties. The Field table contains x amount of records for each Table with about 200 fields so the framework knows how to deal with them.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform