コード例 #1
0
        public CreateTableCommand Column <T>(string columnName, Action <CreateColumnCommand> column = null)
        {
            var dbType = SchemaUtils.ToDbType(typeof(T));

            return(Column(columnName, dbType, column));
        }
コード例 #2
0
        public void AddColumn <T>(string columnName, Action <AddColumnCommand> column = null)
        {
            var dbType = SchemaUtils.ToDbType(typeof(T));

            AddColumn(columnName, dbType, column);
        }