public Function(string name) { if (name == null) { throw Error.SchemaRequirementViolation("Function", "Name"); } this.name = name; parameters = new ParameterCollection(); types = new TypeCollection(); }
public Type(string name) { if (name == null) { throw Error.SchemaRequirementViolation("Type", "Name"); } this.name = name; columns = new ColumnCollection(); associations = new AssociationCollection(); subTypes = new TypeCollection(); }