public MsSqlDbDriver(MsSqlVersion serverVersion) : base(DbServerType.MsSql, serverVersion == MsSqlVersion.V2008 ? MsSql08Features : MsSql12Features) { ServerVersion = serverVersion; base.DynamicSqlParameterPrefix = base.StoredProcParameterPrefix = "@"; base.CommandCallFormat = "EXEC {0} {1};"; base.CommandCallOutParamFormat = "{0} OUTPUT"; base.BatchBeginTransaction = "BEGIN TRANSACTION;"; base.BatchCommitTransaction = "COMMIT TRANSACTION;"; base.DDLSeparator = Environment.NewLine + "GO" + Environment.NewLine; }
public MsSqlDbSqlBuilder(DbModel dbModel, MsSqlVersion version) : base(dbModel) { _version = version; }
public MsSqlLinqSqlProvider(DbModel dbModel, MsSqlVersion serverVersion) : base(dbModel) { ServerVersion = serverVersion; }