Skip to content

v2.2.14

Compare
Choose a tag to compare
@JonathanMagnan JonathanMagnan released this 23 Jul 14:42
· 8 commits to master since this release
  • ADDED: Expose IdentitySpecification so we can change the seed value #210
var connection = Effort.DbConnectionFactory.CreateTransient();

using (var context = new EntityContext(connection))
{
	context.Database.CreateIfNotExists();
	connection.Open();

	connection.DbManager.SetIdentity<EntitySimple>(50);
	connection.DbManager.SetIdentity<EntitySimple2>(100, 2);
}