Exemplo n.º 1
0
 public Function(string name)
 {
     if (name == null)
     {
         throw Error.SchemaRequirementViolation("Function", "Name");
     }
     this.name  = name;
     parameters = new ParameterCollection();
     types      = new TypeCollection();
 }
Exemplo n.º 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();
 }