Esempio n. 1
0
 // <summary>
 // InvalidOperationException with message like "The current migration SQL generator ({0}) is unable to generate SQL for operations of type '{1}'. Call SetSqlGenerator on your migrations configuration class to use a different SQL generator. To create a custom SQL generator that can handle this type of operation, add a new class that derives from {0} and override Generate(MigrationOperation)."
 // </summary>
 internal static Exception SqlServerMigrationSqlGenerator_UnknownOperation(object p0, object p1)
 {
     return(new InvalidOperationException(Strings.SqlServerMigrationSqlGenerator_UnknownOperation(p0, p1)));
 }
Esempio n. 2
0
 // <summary>
 // ArgumentException with message like "The database name '{0}' is invalid. Database names must be of the form [<schema_name>.]<object_name>."
 // </summary>
 internal static Exception InvalidDatabaseName(object p0)
 {
     return(new ArgumentException(Strings.InvalidDatabaseName(p0)));
 }