예제 #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
파일: Type.cs 프로젝트: xiaoyaoju/Templates
 public Type(string name)
 {
     if (name == null)
     {
         throw Error.SchemaRequirementViolation("Type", "Name");
     }
     this.name    = name;
     columns      = new ColumnCollection();
     associations = new AssociationCollection();
     subTypes     = new TypeCollection();
 }