Пример #1
0
 public Function(string name)
 {
     if (name == null)
     {
         throw Error.SchemaRequirementViolation("Function", "Name");
     }
     this.name  = name;
     parameters = new ParameterCollection();
     types      = new TypeCollection();
 }
Пример #2
0
 public Type(string name)
 {
     if (name == null)
     {
         throw Error.SchemaRequirementViolation("Type", "Name");
     }
     this.name    = name;
     columns      = new ColumnCollection();
     associations = new AssociationCollection();
     subTypes     = new TypeCollection();
 }