Beispiel #1
0
        public void AddColumn <T>(string columnName, Action <IAddColumnCommand> column = null)
        {
            var dbType = SchemaUtils.ToDbType(typeof(T));

            AddColumn(columnName, dbType, column);
        }
Beispiel #2
0
        public ICreateTableCommand Column <T>(string columnName, Action <ICreateColumnCommand> column = null)
        {
            var dbType = SchemaUtils.ToDbType(typeof(T));

            return(Column(columnName, dbType, column));
        }