ComponentOne DataObjects for .NET
Add Method (C1SchemaDef)

C1.Data.2 Assembly > C1.Data Namespace > C1SchemaDef Class : Add Method
Adds an element to the list of C1SchemaRef components associated with the C1SchemaDef component.
Syntax
'Declaration
 
Public Sub Add( _
   ByVal schemaRef As C1SchemaRef _
) 
public void Add( 
   C1SchemaRef schemaRef
)

Parameters

schemaRef
Remarks
This method is used to specify a list of C1SchemaRef components representing (associated with) a C1SchemaDef component. It is useful in large data library projects where it is desirable to use multiple source code files to write business logic code. A C1SchemaRef component represents the C1SchemaDef component holding the library's schema when it resides in a different file in the project. Every C1SchemaRef component representing a C1SchemaDef must have its SchemaDef property set to the C1SchemaDef component and it also has to be associated with the C1SchemaDef component at run time calling the Add method.
See Also

Reference

C1SchemaDef Class
C1SchemaDef Members
Creating a Data Library Project