public string GetSqlDataTypeDefinition() { string result = BLDataType.GenerateSqlDataTypeDefinition(this); if (IsPrimaryKey) { result += " primary key"; } if (IsIdentity && ParentInterface.GetCoreInterface().Type != Core.CoreInterfaceType.DEF_TABLE) { result += " auto_increment"; } if (IsNotNull || IsPrimaryKey) { result += " not null"; } return(result); }
public string GetSqlDataTypeDefinition() { // TODO: das hier ist noch nicht alles !!! return(BLDataType.GenerateSqlDataTypeDefinition(this)); }
public string GetSqlDataType() { return(BLDataType.GetSqlDataType(this.Core)); }