private void Initialise()
 {
     _propDefCol = new PropDefCol();
     //PropDefBuilders = new List<PropDefBuilder<T>>();
     _propertiesDefBuilder = new PropertiesDefBuilder <T>(this, PropDefBuilders);
     _relationshipDefCol   = new RelationshipDefCol();
     _primaryKeyDef        = new PrimaryKeyDef();
 }
Пример #2
0
        private void Initialise()
        {
            _propDefBuilders = new List <PropDefBuilder <T> >();
            if (_superClassDefBuilder == null)
            {
                _classDefBuilder2 = new ClassDefBuilder2 <T>(_classDefBuilder, _propDefBuilders, _primaryKeyPropNames);
            }
            else
            {
                _classDefBuilder2 = new ClassDefBuilder2 <T>(_classDefBuilder, _propDefBuilders, _primaryKeyPropNames, _superClassDefBuilder);
            }

            _propertiesDefBuilder = new PropertiesDefBuilder <T>(_classDefBuilder2, _propDefBuilders);
        }