//public ScalarPropertyDefinition(string propertyName) // : this(null, propertyName, propertyName, Field2DbRelations.None, null, null, null, AccessLevel.Private, AccessLevel.Public) //{ //} //public ScalarPropertyDefinition(string propertyName, string propertyAlias, Field2DbRelations attributes, string description, // TypeDefinition type, SourceFieldDefinition sf, // AccessLevel fieldAccessLevel, AccessLevel propertyAccessLevel) // : this(null, propertyName, propertyAlias, attributes, description, type, sf, fieldAccessLevel, propertyAccessLevel) //{ //} public ScalarPropertyDefinition(EntityDefinition entity, string propertyName, string propertyAlias, Field2DbRelations attributes, string description, TypeDefinition type, SourceFieldDefinition sf, AccessLevel fieldAccessLevel, AccessLevel propertyAccessLevel) : base(propertyName, propertyAlias, type, attributes, description, fieldAccessLevel, propertyAccessLevel, entity) { _sf = sf; }
public SourceReferences( SourceConstraint pkConstarint, SourceConstraint fkConstarint, SourceFieldDefinition pkField, SourceFieldDefinition fkField) : this(null, pkConstarint, fkConstarint, pkField, fkField) { }
public bool Equals(SourceFieldDefinition obj) { if (obj == null) { return(false); } return(ToString() == obj.ToString()); }
public SourceReferences(string action, SourceConstraint pkConstarint, SourceConstraint fkConstarint, SourceFieldDefinition pkField, SourceFieldDefinition fkField) { DeleteAction = action; PKConstraint = pkConstarint; FKConstraint = fkConstarint; PKField = pkField; FKField = fkField; }
public SourceFieldDefinition Clone() { SourceFieldDefinition sf = new SourceFieldDefinition(SourceFragment, SourceFieldExpression, SourceType, SourceTypeSize, IsNullable, IsAutoIncrement, DefaultValue); return(sf); }