public Property AddProperty(string name, BusinessObjectBase type, int?size = null) { var property = new Property(Session); property.PropertyType = type; property.称 = name; if (size.HasValue) { property.Size = size.Value; } this.Properties.Add(property); return(property); }
public static void AddToTypeReferences(this TypeReference self, BusinessObjectBase bo) { TypeReferences.Add(bo, self); }