FutureStateMobile / AppCore.Data

A Portable, cross-platform, light weight, opinionated ORM designed to work across multiple Databases
9 stars 5 forks source link

Either add strong naming to migrations, or replace existing migrations with strong naming. #4

Closed ChaseFlorell closed 10 years ago

ChaseFlorell commented 10 years ago

Currently we create a table as follows

        var usersTable = database.AddTable("Users");
        usersTable.AddColumn("FirstName", typeof(string), 100);

It would be nice to have this as an option

        var usersTable = database.AddTable<UserModel>();

and possibly this, though I'm still undecided.

        usersTable.AddColumn<string>("FirstName", 100);
ChaseFlorell commented 10 years ago

Probably depends on #3.

ChaseFlorell commented 10 years ago

After a chat with @keithnlarsen, this issue is being put on hold.