Пример #1
0
        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);
        }
Пример #2
0
 public static void AddToTypeReferences(this TypeReference self, BusinessObjectBase bo)
 {
     TypeReferences.Add(bo, self);
 }