> It kind of breaks the notion of altering the table/column with one command. It's a bit of magic with system tables and people might get confused or break it by chaning the script. The update script should not be changed by users generated by migration. Or maybe I don't know something? > MSSQL has identities. Given that there are at least two widely used schemes in Firebird community and nothing is in the engine itself, I'd like to keep this open, with some default implementation. We need to inject some implementation through dependency injection, or make it configurable. EF have some built-in dependency injector. Does community schemes mentioned above are mutual exclusive for database instance?
2014-11-08 18:36 GMT+02:00 Jiří Činčura <j...@cincura.net>: > > 1. What problem in Execute block? > > It kind of breaks the notion of altering the table/column with one > command. It's a bit of magic with system tables and people might get > confused or break it by chaning the script. > > > 2. My opinion for "Identity" is to copy MSSQL behavior. Create generator > for each primary key + trigger before insert. > > MSSQL has identities. Given that there are at least two widely used > schemes in Firebird community and nothing is in the engine itself, I'd like > to keep this open, with some default implementation. > > -- > Mgr. Jiří Činčura > Independent IT Specialist > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Firebird-net-provider mailing list > Firebird-net-provider@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider >
------------------------------------------------------------------------------
_______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider