public override string GetKeyColumnDefinition(KeyColumnAttribute keyColumn)
        {
            KeyColumnAttribute key = keyColumn.CopyAs <KeyColumnAttribute>();

            key.DbDataType = "SERIAL";
            return(string.Format("{0} PRIMARY KEY ", GetColumnDefinition(key)));
        }
 public override string GetKeyColumnDefinition(KeyColumnAttribute keyColumn)
 {
     return(string.Format("{0} AUTO_INCREMENT PRIMARY KEY ", GetColumnDefinition(keyColumn)));
 }
Beispiel #3
0
 public abstract string GetKeyColumnDefinition(KeyColumnAttribute keyColumn);
 public override string GetKeyColumnDefinition(KeyColumnAttribute keyColumn)
 {
     return(string.Format(KeyColumnFormat, string.Format("{0} INTEGER", keyColumn.Name)));
 }
 public override string GetKeyColumnDefinition(KeyColumnAttribute keyColumn)
 {
     return(string.Format(KeyColumnFormat, GetColumnDefinition(keyColumn)));
 }