Ejemplo n.º 1
0
        public string GetSqlDataTypeDefinition()
        {
            string result = BLDataType.GenerateSqlDataTypeDefinition(this);

            if (IsPrimaryKey)
            {
                result += " primary key";
            }
            if (IsIdentity)
            {
                result += " identity";
            }
            if (IsNotNull || IsPrimaryKey)
            {
                result += " not null";
            }

            return(result);
        }
Ejemplo n.º 2
0
 public string GetSqlDataType()
 {
     return(BLDataType.GetSqlDataType(this.Core));
 }
Ejemplo n.º 3
0
 public string GetSqlDataTypeDefinition()
 {
     // TODO: das hier ist noch nicht alles !!!
     return(BLDataType.GenerateSqlDataTypeDefinition(this));
 }