'Declaration Public Property DataObjectsAssemblyFlags As DataObjectsAssemblyFlags
public DataObjectsAssemblyFlags DataObjectsAssemblyFlags {get; set;}
'Declaration Public Property DataObjectsAssemblyFlags As DataObjectsAssemblyFlags
public DataObjectsAssemblyFlags DataObjectsAssemblyFlags {get; set;}
Setting flag DataObjectsAssemblyFlags.DataSetNamespaces makes table view classes belong to special namespaces, a namespace for each data set, for example, Northwind.DataObjects.CustOrders.EmployeesRow for table view Employees in data set CustOrders. Table classes still belong to the root namespace: Northwind.DataObjects.EmployeesRow for table Employees.
Setting flag DataObjectsAssemblyFlags.StaticNameFields generates static string properties returning field, table, table view and relation names, so that they can be used instead of constant strings in code thus making it compile-time safe (errors detected at compile time), for example:
Northwind.DataObjects.EmployeesRow.FieldNameEmployeeID (field name returning "EmployeeID" for field EmployeeID of table Employees),
Northwind.DataObjects.EmployeesRow.TableName (table name returning "Employees", for table Employees),
Northwind.DataObjects.EmployeesRow.RelationNameEmployees__Orders (relation name returning "Employees - Orders", for simple relation "Employees - Orders"),
Northwind.DataObjects.CustOrders.EmployeesRow.TableViewName (table view name returning "Employees", for table view Employees in data set CustOrders),
Northwind.DataObjects.CustOrders.EmployeesRow.FieldNameEmployeeID (field name returning "EmployeeID" for field EmployeeID of table Employees),
Northwind.DataObjects.CustOrders.CustOrdersRow.RelationNameCO__ODP (relation name returning "CO - ODP", for view relation "CO - ODP" between table views CustOrders and OrderDetailsProducts in data set CustOrders).