PageRenderTime 154ms CodeModel.GetById 33ms RepoModel.GetById 1ms app.codeStats 3ms

/src/EntityFramework/Properties/Resources.cs

http://entityframework.codeplex.com
C# | 10507 lines | 5253 code | 1314 blank | 3940 comment | 0 complexity | 06b29a9ba936600a78671649f35c65b9 MD5 | raw file
Possible License(s): Apache-2.0

Large files files are truncated, but you can click here to view the full file

  1. // <auto-generated />
  2. namespace System.Data.Entity.Resources
  3. {
  4. using System.CodeDom.Compiler;
  5. using System.Globalization;
  6. using System.Resources;
  7. using System.Threading;
  8. /// <summary>
  9. /// Strongly-typed and parameterized string resources.
  10. /// </summary>
  11. [GeneratedCode("Resources.tt", "1.0.0.0")]
  12. internal static class Strings
  13. {
  14. /// <summary>
  15. /// A string like "AutomaticMigration"
  16. /// </summary>
  17. internal static string AutomaticMigration
  18. {
  19. get { return EntityRes.GetString(EntityRes.AutomaticMigration); }
  20. }
  21. /// <summary>
  22. /// A string like "BootstrapMigration"
  23. /// </summary>
  24. internal static string BootstrapMigration
  25. {
  26. get { return EntityRes.GetString(EntityRes.BootstrapMigration); }
  27. }
  28. /// <summary>
  29. /// A string like "InitialCreate"
  30. /// </summary>
  31. internal static string InitialCreate
  32. {
  33. get { return EntityRes.GetString(EntityRes.InitialCreate); }
  34. }
  35. /// <summary>
  36. /// A string like "Automatic migration was not applied because it would result in data loss."
  37. /// </summary>
  38. internal static string AutomaticDataLoss
  39. {
  40. get { return EntityRes.GetString(EntityRes.AutomaticDataLoss); }
  41. }
  42. /// <summary>
  43. /// A string like "Applying automatic migration: {0}."
  44. /// </summary>
  45. internal static string LoggingAutoMigrate(object p0)
  46. {
  47. return EntityRes.GetString(EntityRes.LoggingAutoMigrate, p0);
  48. }
  49. /// <summary>
  50. /// A string like "Reverting automatic migration: {0}."
  51. /// </summary>
  52. internal static string LoggingRevertAutoMigrate(object p0)
  53. {
  54. return EntityRes.GetString(EntityRes.LoggingRevertAutoMigrate, p0);
  55. }
  56. /// <summary>
  57. /// A string like "Applying explicit migration: {0}."
  58. /// </summary>
  59. internal static string LoggingApplyMigration(object p0)
  60. {
  61. return EntityRes.GetString(EntityRes.LoggingApplyMigration, p0);
  62. }
  63. /// <summary>
  64. /// A string like "Reverting explicit migration: {0}."
  65. /// </summary>
  66. internal static string LoggingRevertMigration(object p0)
  67. {
  68. return EntityRes.GetString(EntityRes.LoggingRevertMigration, p0);
  69. }
  70. /// <summary>
  71. /// A string like "Running Seed method."
  72. /// </summary>
  73. internal static string LoggingSeedingDatabase
  74. {
  75. get { return EntityRes.GetString(EntityRes.LoggingSeedingDatabase); }
  76. }
  77. /// <summary>
  78. /// A string like "Applying explicit migrations: [{1}]."
  79. /// </summary>
  80. internal static string LoggingPendingMigrations(object p0, object p1)
  81. {
  82. return EntityRes.GetString(EntityRes.LoggingPendingMigrations, p0, p1);
  83. }
  84. /// <summary>
  85. /// A string like "Reverting migrations: [{1}]."
  86. /// </summary>
  87. internal static string LoggingPendingMigrationsDown(object p0, object p1)
  88. {
  89. return EntityRes.GetString(EntityRes.LoggingPendingMigrationsDown, p0, p1);
  90. }
  91. /// <summary>
  92. /// A string like "No pending explicit migrations."
  93. /// </summary>
  94. internal static string LoggingNoExplicitMigrations
  95. {
  96. get { return EntityRes.GetString(EntityRes.LoggingNoExplicitMigrations); }
  97. }
  98. /// <summary>
  99. /// A string like "Target database is already at version {0}."
  100. /// </summary>
  101. internal static string LoggingAlreadyAtTarget(object p0)
  102. {
  103. return EntityRes.GetString(EntityRes.LoggingAlreadyAtTarget, p0);
  104. }
  105. /// <summary>
  106. /// A string like "Target database is: {0}."
  107. /// </summary>
  108. internal static string LoggingTargetDatabase(object p0)
  109. {
  110. return EntityRes.GetString(EntityRes.LoggingTargetDatabase, p0);
  111. }
  112. /// <summary>
  113. /// A string like "'{1}' (DataSource: {0}, Provider: {2}, Origin: {3})"
  114. /// </summary>
  115. internal static string LoggingTargetDatabaseFormat(object p0, object p1, object p2, object p3)
  116. {
  117. return EntityRes.GetString(EntityRes.LoggingTargetDatabaseFormat, p0, p1, p2, p3);
  118. }
  119. /// <summary>
  120. /// A string like "Explicit"
  121. /// </summary>
  122. internal static string LoggingExplicit
  123. {
  124. get { return EntityRes.GetString(EntityRes.LoggingExplicit); }
  125. }
  126. /// <summary>
  127. /// A string like "Upgrading history table."
  128. /// </summary>
  129. internal static string UpgradingHistoryTable
  130. {
  131. get { return EntityRes.GetString(EntityRes.UpgradingHistoryTable); }
  132. }
  133. /// <summary>
  134. /// A string like "Cannot scaffold the next migration because the target database was created with a version of Code First earlier than EF 4.3 and does not contain the migrations history table. To start using migrations against this database, ensure the current model is compatible with the target database and execute the migrations Update process. (In Visual Studio you can use the Update-Database command from Package Manager Console to execute the migrations Update process)."
  135. /// </summary>
  136. internal static string MetadataOutOfDate
  137. {
  138. get { return EntityRes.GetString(EntityRes.MetadataOutOfDate); }
  139. }
  140. /// <summary>
  141. /// A string like "The specified target migration '{0}' does not exist. Ensure that target migration refers to an existing migration id."
  142. /// </summary>
  143. internal static string MigrationNotFound(object p0)
  144. {
  145. return EntityRes.GetString(EntityRes.MigrationNotFound, p0);
  146. }
  147. /// <summary>
  148. /// A string like "The Foreign Key on table '{0}' with columns '{1}' could not be created because the principal key columns could not be determined. Use the AddForeignKey fluent API to fully specify the Foreign Key."
  149. /// </summary>
  150. internal static string PartialFkOperation(object p0, object p1)
  151. {
  152. return EntityRes.GetString(EntityRes.PartialFkOperation, p0, p1);
  153. }
  154. /// <summary>
  155. /// A string like "'{0}' is not a valid target migration. When targeting a previously applied automatic migration, use the full migration id including timestamp."
  156. /// </summary>
  157. internal static string AutoNotValidTarget(object p0)
  158. {
  159. return EntityRes.GetString(EntityRes.AutoNotValidTarget, p0);
  160. }
  161. /// <summary>
  162. /// A string like "'{0}' is not a valid migration. Explicit migrations must be used for both source and target when scripting the upgrade between them."
  163. /// </summary>
  164. internal static string AutoNotValidForScriptWindows(object p0)
  165. {
  166. return EntityRes.GetString(EntityRes.AutoNotValidForScriptWindows, p0);
  167. }
  168. /// <summary>
  169. /// A string like "The target context '{0}' is not constructible. Add a default constructor or provide an implementation of IDbContextFactory."
  170. /// </summary>
  171. internal static string ContextNotConstructible(object p0)
  172. {
  173. return EntityRes.GetString(EntityRes.ContextNotConstructible, p0);
  174. }
  175. /// <summary>
  176. /// A string like "The specified migration name '{0}' is ambiguous. Specify the full migration id including timestamp instead."
  177. /// </summary>
  178. internal static string AmbiguousMigrationName(object p0)
  179. {
  180. return EntityRes.GetString(EntityRes.AmbiguousMigrationName, p0);
  181. }
  182. /// <summary>
  183. /// A string like "Unable to update database to match the current model because there are pending changes and automatic migration is disabled. Either write the pending model changes to a code-based migration or enable automatic migration. Set DbMigrationsConfiguration.AutomaticMigrationsEnabled to true to enable automatic migration."
  184. /// </summary>
  185. internal static string AutomaticDisabledException
  186. {
  187. get { return EntityRes.GetString(EntityRes.AutomaticDisabledException); }
  188. }
  189. /// <summary>
  190. /// A string like "Scripting the downgrade between two specified migrations is not supported."
  191. /// </summary>
  192. internal static string DownScriptWindowsNotSupported
  193. {
  194. get { return EntityRes.GetString(EntityRes.DownScriptWindowsNotSupported); }
  195. }
  196. /// <summary>
  197. /// A string like "The migrations configuration type '{0}' was not be found in the assembly '{1}'."
  198. /// </summary>
  199. internal static string AssemblyMigrator_NoConfigurationWithName(object p0, object p1)
  200. {
  201. return EntityRes.GetString(EntityRes.AssemblyMigrator_NoConfigurationWithName, p0, p1);
  202. }
  203. /// <summary>
  204. /// A string like "More than one migrations configuration type '{0}' was found in the assembly '{1}'. Specify the fully qualified name of the one to use."
  205. /// </summary>
  206. internal static string AssemblyMigrator_MultipleConfigurationsWithName(object p0, object p1)
  207. {
  208. return EntityRes.GetString(EntityRes.AssemblyMigrator_MultipleConfigurationsWithName, p0, p1);
  209. }
  210. /// <summary>
  211. /// A string like "No migrations configuration type was found in the assembly '{0}'. (In Visual Studio you can use the Enable-Migrations command from Package Manager Console to add a migrations configuration)."
  212. /// </summary>
  213. internal static string AssemblyMigrator_NoConfiguration(object p0)
  214. {
  215. return EntityRes.GetString(EntityRes.AssemblyMigrator_NoConfiguration, p0);
  216. }
  217. /// <summary>
  218. /// A string like "More than one migrations configuration type was found in the assembly '{0}'. Specify the name of the one to use."
  219. /// </summary>
  220. internal static string AssemblyMigrator_MultipleConfigurations(object p0)
  221. {
  222. return EntityRes.GetString(EntityRes.AssemblyMigrator_MultipleConfigurations, p0);
  223. }
  224. /// <summary>
  225. /// A string like "Direct column renaming is not supported by SQL Server Compact. To rename a column in SQL Server Compact, you will need to recreate it."
  226. /// </summary>
  227. internal static string SqlCeColumnRenameNotSupported
  228. {
  229. get { return EntityRes.GetString(EntityRes.SqlCeColumnRenameNotSupported); }
  230. }
  231. /// <summary>
  232. /// A string like "In VB.NET projects, the migrations namespace '{0}' must be under the root namespace '{1}'. Update the migrations project's root namespace to allow classes under the migrations namespace to be added."
  233. /// </summary>
  234. internal static string MigrationsNamespaceNotUnderRootNamespace(object p0, object p1)
  235. {
  236. return EntityRes.GetString(EntityRes.MigrationsNamespaceNotUnderRootNamespace, p0, p1);
  237. }
  238. /// <summary>
  239. /// A string like "Unable to call public, instance method AddOrUpdate on derived IDbSet<T> type '{0}'. Method not found."
  240. /// </summary>
  241. internal static string UnableToDispatchAddOrUpdate(object p0)
  242. {
  243. return EntityRes.GetString(EntityRes.UnableToDispatchAddOrUpdate, p0);
  244. }
  245. /// <summary>
  246. /// A string like "No MigrationSqlGenerator found for provider '{0}'. Use the SetSqlGenerator method in the target migrations configuration class to register additional SQL generators."
  247. /// </summary>
  248. internal static string NoSqlGeneratorForProvider(object p0)
  249. {
  250. return EntityRes.GetString(EntityRes.NoSqlGeneratorForProvider, p0);
  251. }
  252. /// <summary>
  253. /// A string like "Could not load assembly '{0}'. (If you are using Code First Migrations inside Visual Studio this can happen if the startUp project for your solution does not reference the project that contains your migrations. You can either change the startUp project for your solution or use the -StartUpProjectName parameter.)"
  254. /// </summary>
  255. internal static string ToolingFacade_AssemblyNotFound(object p0)
  256. {
  257. return EntityRes.GetString(EntityRes.ToolingFacade_AssemblyNotFound, p0);
  258. }
  259. /// <summary>
  260. /// A string like "The argument '{0}' cannot be null, empty or contain only white space."
  261. /// </summary>
  262. internal static string ArgumentIsNullOrWhitespace(object p0)
  263. {
  264. return EntityRes.GetString(EntityRes.ArgumentIsNullOrWhitespace, p0);
  265. }
  266. /// <summary>
  267. /// A string like "The type '{0}' has already been configured as a complex type. It cannot be reconfigured as an entity type."
  268. /// </summary>
  269. internal static string EntityTypeConfigurationMismatch(object p0)
  270. {
  271. return EntityRes.GetString(EntityRes.EntityTypeConfigurationMismatch, p0);
  272. }
  273. /// <summary>
  274. /// A string like "The type '{0}' has already been configured as an entity type. It cannot be reconfigured as a complex type."
  275. /// </summary>
  276. internal static string ComplexTypeConfigurationMismatch(object p0)
  277. {
  278. return EntityRes.GetString(EntityRes.ComplexTypeConfigurationMismatch, p0);
  279. }
  280. /// <summary>
  281. /// A string like "The key component '{0}' is not a declared property on type '{1}'. Verify that it has not been explicitly excluded from the model and that it is a valid primitive property."
  282. /// </summary>
  283. internal static string KeyPropertyNotFound(object p0, object p1)
  284. {
  285. return EntityRes.GetString(EntityRes.KeyPropertyNotFound, p0, p1);
  286. }
  287. /// <summary>
  288. /// A string like "The foreign key component '{0}' is not a declared property on type '{1}'. Verify that it has not been explicitly excluded from the model and that it is a valid primitive property."
  289. /// </summary>
  290. internal static string ForeignKeyPropertyNotFound(object p0, object p1)
  291. {
  292. return EntityRes.GetString(EntityRes.ForeignKeyPropertyNotFound, p0, p1);
  293. }
  294. /// <summary>
  295. /// A string like "The property '{0}' is not a declared property on type '{1}'. Verify that the property has not been explicitly excluded from the model by using the Ignore method or NotMappedAttribute data annotation. Make sure that it is a valid primitive property."
  296. /// </summary>
  297. internal static string PropertyNotFound(object p0, object p1)
  298. {
  299. return EntityRes.GetString(EntityRes.PropertyNotFound, p0, p1);
  300. }
  301. /// <summary>
  302. /// A string like "The navigation property '{0}' is not a declared property on type '{1}'. Verify that it has not been explicitly excluded from the model and that it is a valid navigation property."
  303. /// </summary>
  304. internal static string NavigationPropertyNotFound(object p0, object p1)
  305. {
  306. return EntityRes.GetString(EntityRes.NavigationPropertyNotFound, p0, p1);
  307. }
  308. /// <summary>
  309. /// A string like "The expression '{0}' is not a valid property expression. The expression should represent a property: C#: 't => t.MyProperty' VB.Net: 'Function(t) t.MyProperty'."
  310. /// </summary>
  311. internal static string InvalidPropertyExpression(object p0)
  312. {
  313. return EntityRes.GetString(EntityRes.InvalidPropertyExpression, p0);
  314. }
  315. /// <summary>
  316. /// A string like "The expression '{0}' is not a valid property expression. The expression should represent a property: C#: 't => t.MyProperty' VB.Net: 'Function(t) t.MyProperty'. Use dotted paths for nested properties: C#: 't => t.MyProperty.MyProperty' VB.Net: 'Function(t) t.MyProperty.MyProperty'."
  317. /// </summary>
  318. internal static string InvalidComplexPropertyExpression(object p0)
  319. {
  320. return EntityRes.GetString(EntityRes.InvalidComplexPropertyExpression, p0);
  321. }
  322. /// <summary>
  323. /// A string like "The properties expression '{0}' is not valid. The expression should represent a property: C#: 't => t.MyProperty' VB.Net: 'Function(t) t.MyProperty'. When specifying multiple properties use an anonymous type: C#: 't => new {{ t.MyProperty1, t.MyProperty2 }}' VB.Net: 'Function(t) New With {{ t.MyProperty1, t.MyProperty2 }}'."
  324. /// </summary>
  325. internal static string InvalidPropertiesExpression(object p0)
  326. {
  327. return EntityRes.GetString(EntityRes.InvalidPropertiesExpression, p0);
  328. }
  329. /// <summary>
  330. /// A string like "The properties expression '{0}' is not valid. The expression should represent a property: C#: 't => t.MyProperty' VB.Net: 'Function(t) t.MyProperty'. When specifying multiple properties use an anonymous type: C#: 't => new {{ t.MyProperty1, t.MyProperty2 }}' VB.Net: 'Function(t) New With {{ t.MyProperty1, t.MyProperty2 }}'."
  331. /// </summary>
  332. internal static string InvalidComplexPropertiesExpression(object p0)
  333. {
  334. return EntityRes.GetString(EntityRes.InvalidComplexPropertiesExpression, p0);
  335. }
  336. /// <summary>
  337. /// A string like "A configuration for type '{0}' has already been added. To reference the existing configuration use the Entity<T>() or ComplexType<T>() methods."
  338. /// </summary>
  339. internal static string DuplicateStructuralTypeConfiguration(object p0)
  340. {
  341. return EntityRes.GetString(EntityRes.DuplicateStructuralTypeConfiguration, p0);
  342. }
  343. /// <summary>
  344. /// A string like "Conflicting configuration settings were specified for property '{0}' on type '{1}': {2}"
  345. /// </summary>
  346. internal static string ConflictingPropertyConfiguration(object p0, object p1, object p2)
  347. {
  348. return EntityRes.GetString(EntityRes.ConflictingPropertyConfiguration, p0, p1, p2);
  349. }
  350. /// <summary>
  351. /// A string like "Conflicting configuration settings were specified for column '{0}' on table '{1}': {2}"
  352. /// </summary>
  353. internal static string ConflictingColumnConfiguration(object p0, object p1, object p2)
  354. {
  355. return EntityRes.GetString(EntityRes.ConflictingColumnConfiguration, p0, p1, p2);
  356. }
  357. /// <summary>
  358. /// A string like "{0} = {1} conflicts with {2} = {3}"
  359. /// </summary>
  360. internal static string ConflictingConfigurationValue(object p0, object p1, object p2, object p3)
  361. {
  362. return EntityRes.GetString(EntityRes.ConflictingConfigurationValue, p0, p1, p2, p3);
  363. }
  364. /// <summary>
  365. /// A string like "The type '{0}' was not mapped. Check that the type has not been explicitly excluded by using the Ignore method or NotMappedAttribute data annotation. Verify that the type was defined as a class, is not primitive, nested or generic, and does not inherit from ComplexObject."
  366. /// </summary>
  367. internal static string CodeFirstInvalidComplexType(object p0)
  368. {
  369. return EntityRes.GetString(EntityRes.CodeFirstInvalidComplexType, p0);
  370. }
  371. /// <summary>
  372. /// A string like "The type '{0}' was not mapped. Check that the type has not been explicitly excluded by using the Ignore method or NotMappedAttribute data annotation. Verify that the type was defined as a class, is not primitive, nested or generic, and does not inherit from EntityObject."
  373. /// </summary>
  374. internal static string InvalidEntityType(object p0)
  375. {
  376. return EntityRes.GetString(EntityRes.InvalidEntityType, p0);
  377. }
  378. /// <summary>
  379. /// A string like "The navigation property '{0}' declared on type '{1}' cannot be the inverse of itself."
  380. /// </summary>
  381. internal static string NavigationInverseItself(object p0, object p1)
  382. {
  383. return EntityRes.GetString(EntityRes.NavigationInverseItself, p0, p1);
  384. }
  385. /// <summary>
  386. /// A string like "The navigation property '{0}' declared on type '{1}' has been configured with conflicting foreign keys."
  387. /// </summary>
  388. internal static string ConflictingConstraint(object p0, object p1)
  389. {
  390. return EntityRes.GetString(EntityRes.ConflictingConstraint, p0, p1);
  391. }
  392. /// <summary>
  393. /// A string like "Values of incompatible types ('{1}' and '{2}') were assigned to the '{0}' discriminator column. Values of the same type must be specified. To explicitly specify the type of the discriminator column use the HasColumnType method."
  394. /// </summary>
  395. internal static string ConflictingInferredColumnType(object p0, object p1, object p2)
  396. {
  397. return EntityRes.GetString(EntityRes.ConflictingInferredColumnType, p0, p1, p2);
  398. }
  399. /// <summary>
  400. /// A string like "The navigation property '{0}' declared on type '{1}' has been configured with conflicting mapping information."
  401. /// </summary>
  402. internal static string ConflictingMapping(object p0, object p1)
  403. {
  404. return EntityRes.GetString(EntityRes.ConflictingMapping, p0, p1);
  405. }
  406. /// <summary>
  407. /// A string like "The navigation property '{0}' declared on type '{1}' has been configured with conflicting cascade delete operations using 'WillCascadeOnDelete'."
  408. /// </summary>
  409. internal static string ConflictingCascadeDeleteOperation(object p0, object p1)
  410. {
  411. return EntityRes.GetString(EntityRes.ConflictingCascadeDeleteOperation, p0, p1);
  412. }
  413. /// <summary>
  414. /// A string like "The navigation property '{0}' declared on type '{1}' has been configured with conflicting multiplicities."
  415. /// </summary>
  416. internal static string ConflictingMultiplicities(object p0, object p1)
  417. {
  418. return EntityRes.GetString(EntityRes.ConflictingMultiplicities, p0, p1);
  419. }
  420. /// <summary>
  421. /// A string like "The MaxLengthAttribute on property '{0}' on type '{1} is not valid. The Length value must be greater than zero. Use MaxLength() without parameters to indicate that the string or array can have the maximum allowable length."
  422. /// </summary>
  423. internal static string MaxLengthAttributeConvention_InvalidMaxLength(object p0, object p1)
  424. {
  425. return EntityRes.GetString(EntityRes.MaxLengthAttributeConvention_InvalidMaxLength, p0, p1);
  426. }
  427. /// <summary>
  428. /// A string like "The StringLengthAttribute on property '{0}' on type '{1}' is not valid. The maximum length must be greater than zero. Use MaxLength() without parameters to indicate that the string or array can have the maximum allowable length."
  429. /// </summary>
  430. internal static string StringLengthAttributeConvention_InvalidMaximumLength(object p0, object p1)
  431. {
  432. return EntityRes.GetString(EntityRes.StringLengthAttributeConvention_InvalidMaximumLength, p0, p1);
  433. }
  434. /// <summary>
  435. /// A string like "Unable to determine composite primary key ordering for type '{0}'. Use the ColumnAttribute or the HasKey method to specify an order for composite primary keys."
  436. /// </summary>
  437. internal static string ModelGeneration_UnableToDetermineKeyOrder(object p0)
  438. {
  439. return EntityRes.GetString(EntityRes.ModelGeneration_UnableToDetermineKeyOrder, p0);
  440. }
  441. /// <summary>
  442. /// A string like "The ForeignKeyAttribute on property '{0}' on type '{1}' is not valid. Name must not be empty."
  443. /// </summary>
  444. internal static string ForeignKeyAttributeConvention_EmptyKey(object p0, object p1)
  445. {
  446. return EntityRes.GetString(EntityRes.ForeignKeyAttributeConvention_EmptyKey, p0, p1);
  447. }
  448. /// <summary>
  449. /// A string like "The ForeignKeyAttribute on property '{0}' on type '{1}' is not valid. The foreign key name '{2}' was not found on the dependent type '{3}'. The Name value should be a comma separated list of foreign key property names."
  450. /// </summary>
  451. internal static string ForeignKeyAttributeConvention_InvalidKey(object p0, object p1, object p2, object p3)
  452. {
  453. return EntityRes.GetString(EntityRes.ForeignKeyAttributeConvention_InvalidKey, p0, p1, p2, p3);
  454. }
  455. /// <summary>
  456. /// A string like "The ForeignKeyAttribute on property '{0}' on type '{1}' is not valid. The navigation property '{2}' was not found on the dependent type '{1}'. The Name value should be a valid navigation property name."
  457. /// </summary>
  458. internal static string ForeignKeyAttributeConvention_InvalidNavigationProperty(object p0, object p1, object p2)
  459. {
  460. return EntityRes.GetString(EntityRes.ForeignKeyAttributeConvention_InvalidNavigationProperty, p0, p1, p2);
  461. }
  462. /// <summary>
  463. /// A string like "Unable to determine a composite foreign key ordering for foreign key on type {0}. When using the ForeignKey data annotation on composite foreign key properties ensure order is specified by using the Column data annotation or the fluent API."
  464. /// </summary>
  465. internal static string ForeignKeyAttributeConvention_OrderRequired(object p0)
  466. {
  467. return EntityRes.GetString(EntityRes.ForeignKeyAttributeConvention_OrderRequired, p0);
  468. }
  469. /// <summary>
  470. /// A string like "The InversePropertyAttribute on property '{2}' on type '{3}' is not valid. The property '{0}' is not a valid navigation property on the related type '{1}'. Ensure that the property exists and is a valid reference or collection navigation property."
  471. /// </summary>
  472. internal static string InversePropertyAttributeConvention_PropertyNotFound(object p0, object p1, object p2, object p3)
  473. {
  474. return EntityRes.GetString(EntityRes.InversePropertyAttributeConvention_PropertyNotFound, p0, p1, p2, p3);
  475. }
  476. /// <summary>
  477. /// A string like "A relationship cannot be established from property '{0}' on type '{1}' to property '{0}' on type '{1}'. Check the values in the InversePropertyAttribute to ensure relationship definitions are unique and reference from one navigation property to its corresponding inverse navigation property."
  478. /// </summary>
  479. internal static string InversePropertyAttributeConvention_SelfInverseDetected(object p0, object p1)
  480. {
  481. return EntityRes.GetString(EntityRes.InversePropertyAttributeConvention_SelfInverseDetected, p0, p1);
  482. }
  483. /// <summary>
  484. /// A string like "One or more validation errors were detected during model generation:"
  485. /// </summary>
  486. internal static string ValidationHeader
  487. {
  488. get { return EntityRes.GetString(EntityRes.ValidationHeader); }
  489. }
  490. /// <summary>
  491. /// A string like "\t{0}: {1}: {2}"
  492. /// </summary>
  493. internal static string ValidationItemFormat(object p0, object p1, object p2)
  494. {
  495. return EntityRes.GetString(EntityRes.ValidationItemFormat, p0, p1, p2);
  496. }
  497. /// <summary>
  498. /// A string like "A key is registered for the derived type '{0}'. Keys can only be registered for the root type '{1}'."
  499. /// </summary>
  500. internal static string KeyRegisteredOnDerivedType(object p0, object p1)
  501. {
  502. return EntityRes.GetString(EntityRes.KeyRegisteredOnDerivedType, p0, p1);
  503. }
  504. /// <summary>
  505. /// A string like "The type '{0}' has already been mapped to table '{1}'. Specify all mapping aspects of a table in a single Map call."
  506. /// </summary>
  507. internal static string InvalidTableMapping(object p0, object p1)
  508. {
  509. return EntityRes.GetString(EntityRes.InvalidTableMapping, p0, p1);
  510. }
  511. /// <summary>
  512. /// A string like "Map was called more than once for type '{0}' and at least one of the calls didn't specify the target table name."
  513. /// </summary>
  514. internal static string InvalidTableMapping_NoTableName(object p0)
  515. {
  516. return EntityRes.GetString(EntityRes.InvalidTableMapping_NoTableName, p0);
  517. }
  518. /// <summary>
  519. /// A string like "The derived type '{0}' has already been mapped using the chaining syntax. A derived type can only be mapped once using the chaining syntax."
  520. /// </summary>
  521. internal static string InvalidChainedMappingSyntax(object p0)
  522. {
  523. return EntityRes.GetString(EntityRes.InvalidChainedMappingSyntax, p0);
  524. }
  525. /// <summary>
  526. /// A string like "An "is not null" condition cannot be specified on property '{0}' on type '{1}' because this property is not included in the model. Check that the property has not been explicitly excluded from the model by using the Ignore method or NotMappedAttribute data annotation."
  527. /// </summary>
  528. internal static string InvalidNotNullCondition(object p0, object p1)
  529. {
  530. return EntityRes.GetString(EntityRes.InvalidNotNullCondition, p0, p1);
  531. }
  532. /// <summary>
  533. /// A string like "Values of type '{0}' cannot be used as type discriminator values. Supported types include byte, signed byte, bool, int16, int32, int64, and string."
  534. /// </summary>
  535. internal static string InvalidDiscriminatorType(object p0)
  536. {
  537. return EntityRes.GetString(EntityRes.InvalidDiscriminatorType, p0);
  538. }
  539. /// <summary>
  540. /// A string like "Unable to add the convention '{0}'. Could not find an existing convention of type '{1}' in the current convention set."
  541. /// </summary>
  542. internal static string ConventionNotFound(object p0, object p1)
  543. {
  544. return EntityRes.GetString(EntityRes.ConventionNotFound, p0, p1);
  545. }
  546. /// <summary>
  547. /// A string like "Not all properties for type '{0}' have been mapped. Either map those properties or explicitly excluded them from the model."
  548. /// </summary>
  549. internal static string InvalidEntitySplittingProperties(object p0)
  550. {
  551. return EntityRes.GetString(EntityRes.InvalidEntitySplittingProperties, p0);
  552. }
  553. /// <summary>
  554. /// A string like "Unable to determine the provider name for provider factory of type '{0}'. Make sure that the ADO.NET provider is installed or registered in the application config."
  555. /// </summary>
  556. internal static string ProviderNameNotFound(object p0)
  557. {
  558. return EntityRes.GetString(EntityRes.ProviderNameNotFound, p0);
  559. }
  560. /// <summary>
  561. /// A string like "Unable to determine the DbProviderFactory type for connection of type '{0}'. Make sure that the ADO.NET provider is installed or registered in the application config."
  562. /// </summary>
  563. internal static string ProviderNotFound(object p0)
  564. {
  565. return EntityRes.GetString(EntityRes.ProviderNotFound, p0);
  566. }
  567. /// <summary>
  568. /// A string like "The database name '{0}' is invalid. Database names must be of the form [<schema_name>.]<object_name>."
  569. /// </summary>
  570. internal static string InvalidDatabaseName(object p0)
  571. {
  572. return EntityRes.GetString(EntityRes.InvalidDatabaseName, p0);
  573. }
  574. /// <summary>
  575. /// A string like "Properties for type '{0}' can only be mapped once. Ensure the MapInheritedProperties method is only used during one call to the Map method."
  576. /// </summary>
  577. internal static string EntityMappingConfiguration_DuplicateMapInheritedProperties(object p0)
  578. {
  579. return EntityRes.GetString(EntityRes.EntityMappingConfiguration_DuplicateMapInheritedProperties, p0);
  580. }
  581. /// <summary>
  582. /// A string like "Properties for type '{0}' can only be mapped once. Ensure the Properties method is used and that repeated calls specify each non-key property only once."
  583. /// </summary>
  584. internal static string EntityMappingConfiguration_DuplicateMappedProperties(object p0)
  585. {
  586. return EntityRes.GetString(EntityRes.EntityMappingConfiguration_DuplicateMappedProperties, p0);
  587. }
  588. /// <summary>
  589. /// A string like "Properties for type '{0}' can only be mapped once. The non-key property '{1}' is mapped more than once. Ensure the Properties method specifies each non-key property only once."
  590. /// </summary>
  591. internal static string EntityMappingConfiguration_DuplicateMappedProperty(object p0, object p1)
  592. {
  593. return EntityRes.GetString(EntityRes.EntityMappingConfiguration_DuplicateMappedProperty, p0, p1);
  594. }
  595. /// <summary>
  596. /// A string like "The property '{1}' on type '{0}' cannot be mapped because it has been explicitly excluded from the model or it is of a type not supported by the DbModelBuilderVersion being used."
  597. /// </summary>
  598. internal static string EntityMappingConfiguration_CannotMapIgnoredProperty(object p0, object p1)
  599. {
  600. return EntityRes.GetString(EntityRes.EntityMappingConfiguration_CannotMapIgnoredProperty, p0, p1);
  601. }
  602. /// <summary>
  603. /// A string like "The entity types '{0}' and '{1}' cannot share table '{2}' because they are not in the same type hierarchy or do not have a valid one to one foreign key relationship with matching primary keys between them."
  604. /// </summary>
  605. internal static string EntityMappingConfiguration_InvalidTableSharing(object p0, object p1, object p2)
  606. {
  607. return EntityRes.GetString(EntityRes.EntityMappingConfiguration_InvalidTableSharing, p0, p1, p2);
  608. }
  609. /// <summary>
  610. /// A string like "You cannot use Ignore method on the property '{0}' on type '{1}' because this type inherits from the type '{2}' where this property is mapped. To exclude this property from your model, use NotMappedAttribute or Ignore method on the base type."
  611. /// </summary>
  612. internal static string CannotIgnoreMappedBaseProperty(object p0, object p1, object p2)
  613. {
  614. return EntityRes.GetString(EntityRes.CannotIgnoreMappedBaseProperty, p0, p1, p2);
  615. }
  616. /// <summary>
  617. /// A string like "The property '{0}' cannot be used as a key property on the entity '{1}' because the property type is not a valid key type. Only scalar types, string and byte[] are supported key types."
  618. /// </summary>
  619. internal static string ModelBuilder_KeyPropertiesMustBePrimitive(object p0, object p1)
  620. {
  621. return EntityRes.GetString(EntityRes.ModelBuilder_KeyPropertiesMustBePrimitive, p0, p1);
  622. }
  623. /// <summary>
  624. /// A string like "The specified table '{0}' was not found in the model. Ensure that the table name has been correctly specified."
  625. /// </summary>
  626. internal static string TableNotFound(object p0)
  627. {
  628. return EntityRes.GetString(EntityRes.TableNotFound, p0);
  629. }
  630. /// <summary>
  631. /// A string like "The specified association foreign key columns '{0}' are invalid. The number of columns specified must match the number of primary key columns."
  632. /// </summary>
  633. internal static string IncorrectColumnCount(object p0)
  634. {
  635. return EntityRes.GetString(EntityRes.IncorrectColumnCount, p0);
  636. }
  637. /// <summary>
  638. /// A string like "A circular ComplexType hierarchy was detected. Self-referencing ComplexTypes are not supported."
  639. /// </summary>
  640. internal static string CircularComplexTypeHierarchy
  641. {
  642. get { return EntityRes.GetString(EntityRes.CircularComplexTypeHierarchy); }
  643. }
  644. /// <summary>
  645. /// A string like "Unable to determine the principal end of an association between the types '{0}' and '{1}'. The principal end of this association must be explicitly configured using either the relationship fluent API or data annotations."
  646. /// </summary>
  647. internal static string UnableToDeterminePrincipal(object p0, object p1)
  648. {
  649. return EntityRes.GetString(EntityRes.UnableToDeterminePrincipal, p0, p1);
  650. }
  651. /// <summary>
  652. /// A string like "The abstract type '{0}' has no mapped descendants and so cannot be mapped. Either remove '{0}' from the model or add one or more types deriving from '{0}' to the model. "
  653. /// </summary>
  654. internal static string UnmappedAbstractType(object p0)
  655. {
  656. return EntityRes.GetString(EntityRes.UnmappedAbstractType, p0);
  657. }
  658. /// <summary>
  659. /// A string like "The type '{0}' cannot be mapped as defined because it maps inherited properties from types that use entity splitting or another form of inheritance. Either choose a different inheritance mapping strategy so as to not map inherited properties, or change all types in the hierarchy to map inherited properties and to not use splitting. "
  660. /// </summary>
  661. internal static string UnsupportedHybridInheritanceMapping(object p0)
  662. {
  663. return EntityRes.GetString(EntityRes.UnsupportedHybridInheritanceMapping, p0);
  664. }
  665. /// <summary>
  666. /// A string like "The table '{0}' was configured but is not used in any mappings. Verify the mapping configuration for '{0}' is correct."
  667. /// </summary>
  668. internal static string OrphanedConfiguredTableDetected(object p0)
  669. {
  670. return EntityRes.GetString(EntityRes.OrphanedConfiguredTableDetected, p0);
  671. }
  672. /// <summary>
  673. /// A string like "The configured column orders for the table '{0}' contains duplicates. Ensure the specified column order values are distinct."
  674. /// </summary>
  675. internal static string DuplicateConfiguredColumnOrder(object p0)
  676. {
  677. return EntityRes.GetString(EntityRes.DuplicateConfiguredColumnOrder, p0);
  678. }
  679. /// <summary>
  680. /// A string like "The enum or spatial property '{1}' on type '{0}' cannot be mapped. Use DbModelBuilderVersion 'V5_0' or later to map enum or spatial properties."
  681. /// </summary>
  682. internal static string UnsupportedUseOfV3Type(object p0, object p1)
  683. {
  684. return EntityRes.GetString(EntityRes.UnsupportedUseOfV3Type, p0, p1);
  685. }
  686. /// <summary>
  687. /// A string like "Multiple potential primary key properties named '{0}' but differing only by case were found on entity type '{1}'. Configure the primary key explicitly using the HasKey fluent API or the KeyAttribute data annotation."
  688. /// </summary>
  689. internal static string MultiplePropertiesMatchedAsKeys(object p0, object p1)
  690. {
  691. return EntityRes.GetString(EntityRes.MultiplePropertiesMatchedAsKeys, p0, p1);
  692. }
  693. /// <summary>
  694. /// A string like "Connection to the database failed. The connection string is configured with an invalid LocalDB server name. This may have been set in 'global.asax' by a pre-release version of MVC4. The default connection factory is now set in web.config so the line in 'global.asax' starting with 'Database.DefaultConnectionFactory = ' should be removed. See http://go.microsoft.com/fwlink/?LinkId=243166 for details."
  695. /// </summary>
  696. internal static string BadLocalDBDatabaseName
  697. {
  698. get { return EntityRes.GetString(EntityRes.BadLocalDBDatabaseName); }
  699. }
  700. /// <summary>
  701. /// A string like "An error occurred while getting provider information from the database. This can be caused by Entity Framework using an incorrect connection string. Check the inner exceptions for details and ensure that the connection string is correct."
  702. /// </summary>
  703. internal static string FailedToGetProviderInformation
  704. {
  705. get { return EntityRes.GetString(EntityRes.FailedToGetProviderInformation); }
  706. }
  707. /// <summary>
  708. /// A string like "Cannot get value for property '{0}' from entity of type '{1}' because the property has no get accessor."
  709. /// </summary>
  710. internal static string DbPropertyEntry_CannotGetCurrentValue(object p0, object p1)
  711. {
  712. return EntityRes.GetString(EntityRes.DbPropertyEntry_CannotGetCurrentValue, p0, p1);
  713. }
  714. /// <summary>
  715. /// A string like "Cannot set value for property '{0}' on entity of type '{1}' because the property has no set accessor."
  716. /// </summary>
  717. internal static string DbPropertyEntry_CannotSetCurrentValue(object p0, object p1)
  718. {
  719. return EntityRes.GetString(EntityRes.DbPropertyEntry_CannotSetCurrentValue, p0, p1);
  720. }
  721. /// <summary>
  722. /// A string like "Member '{0}' cannot be called for property '{1}' because the entity of type '{2}' does not exist in the context. To add an entity to the context call the Add or Attach method of DbSet<{2}>."
  723. /// </summary>
  724. internal static string DbPropertyEntry_NotSupportedForDetached(object p0, object p1, object p2)
  725. {
  726. return EntityRes.GetString(EntityRes.DbPropertyEntry_NotSupportedForDetached, p0, p1, p2);
  727. }
  728. /// <summary>
  729. /// A string like "Cannot set value for property '{0}' on entity of type '{1}' because the property has no set accessor and is in the '{2}' state."
  730. /// </summary>
  731. internal static string DbPropertyEntry_SettingEntityRefNotSupported(object p0, object p1, object p2)
  732. {
  733. return EntityRes.GetString(EntityRes.DbPropertyEntry_SettingEntityRefNotSupported, p0, p1, p2);
  734. }
  735. /// <summary>
  736. /// A string like "Member '{0}' cannot be called for property '{1}' on entity of type '{2}' because the property is not part of the Entity Data Model."
  737. /// </summary>
  738. internal static string DbPropertyEntry_NotSupportedForPropertiesNotInTheModel(object p0, object p1, object p2)
  739. {
  740. return EntityRes.GetString(EntityRes.DbPropertyEntry_NotSupportedForPropertiesNotInTheModel, p0, p1, p2);
  741. }
  742. /// <summary>
  743. /// A string like "Member '{0}' cannot be called for the entity of type '{1}' because the entity does not exist in the context. To add an entity to the context call the Add or Attach method of DbSet<{1}>."
  744. /// </summary>
  745. internal static string DbEntityEntry_NotSupportedForDetached(object p0, object p1)
  746. {
  747. return EntityRes.GetString(EntityRes.DbEntityEntry_NotSupportedForDetached, p0, p1);
  748. }
  749. /// <summary>
  750. /// A string like "Cannot call the {0} method for an entity of type '{1}' on a DbSet for entities of type '{2}'. Only entities of type '{2}' or derived from type '{2}' can be added, attached, or removed."
  751. /// </summary>
  752. internal static string DbSet_BadTypeForAddAttachRemove(object p0, object p1, object p2)
  753. {
  754. return EntityRes.GetString(EntityRes.DbSet_BadTypeForAddAttachRemove, p0, p1, p2);
  755. }
  756. /// <summary>
  757. /// A string like "Cannot call the Create method for the type '{0}' on a DbSet for entities of type '{1}'. Only entities of type '{1}' or derived from type '{1}' can be created."
  758. /// </summary>
  759. internal static string DbSet_BadTypeForCreate(object p0, object p1)
  760. {
  761. return EntityRes.GetString(EntityRes.DbSet_BadTypeForCreate, p0, p1);
  762. }
  763. /// <summary>
  764. /// A string like "Cannot create a {0}<{1}> from a non-generic {0} for objects of type '{2}'."
  765. /// </summary>
  766. internal static string DbEntity_BadTypeForCast(object p0, object p1, object p2)
  767. {
  768. return EntityRes.GetString(EntityRes.DbEntity_BadTypeForCast, p0, p1, p2);
  769. }
  770. /// <summary>
  771. /// A string like "Cannot create a {0}<{1}, {2}> from a non-generic {0} for entities of type '{3}' with property of type '{4}'."
  772. /// </summary>
  773. internal static string DbMember_BadTypeForCast(object p0, object p1, object p2, object p3, object p4)
  774. {
  775. return EntityRes.GetString(EntityRes.DbMember_BadTypeForCast, p0, p1, p2, p3, p4);
  776. }
  777. /// <summary>
  778. /// A string like "The property '{0}' on type '{1}' is a collection navigation property. The Collection method should be used instead of the Reference method."
  779. /// </summary>
  780. internal static string DbEntityEntry_UsedReferenceForCollectionProp(object p0, object p1)
  781. {
  782. return EntityRes.GetString(EntityRes.DbEntityEntry_UsedReferenceForCollectionProp, p0, p1);
  783. }
  784. /// <summary>
  785. /// A string like "The property '{0}' on type '{1}' is a reference navigation property. The Reference method should be used instead of the Collection method."
  786. /// </summary>
  787. internal static string DbEntityEntry_UsedCollectionForReferenceProp(object p0, object p1)
  788. {
  789. return EntityRes.GetString(EntityRes.DbEntityEntry_UsedCollectionForReferenceProp, p0, p1);
  790. }
  791. /// <summary>
  792. /// A string like "The property '{0}' on type '{1}' is not a navigation property. The Reference and Collection methods can only be used with navigation properties. Use the Property or ComplexProperty method."
  793. /// </summary>
  794. internal static string DbEntityEntry_NotANavigationProperty(object p0, object p1)
  795. {
  796. return EntityRes.GetString(EntityRes.DbEntityEntry_NotANavigationProperty, p0, p1);
  797. }
  798. /// <summary>
  799. /// A string like "The property '{0}' on type '{1}' is not a primitive or complex property. The Property method can only be used with primitive or complex properties. Use the Reference or Collection method."
  800. /// </summary>
  801. internal static string DbEntityEntry_NotAScalarProperty(object p0, object p1)
  802. {
  803. return EntityRes.GetString(EntityRes.DbEntityEntry_NotAScalarProperty, p0, p1);
  804. }
  805. /// <summary>
  806. /// A string like "The property '{0}' on type '{1}' is not a complex property. The ComplexProperty method can only be used with complex properties. Use the Property, Reference or Collection method."
  807. /// </summary>
  808. internal static string DbEntityEntry_NotAComplexProperty(object p0, object p1)
  809. {
  810. return EntityRes.GetString(EntityRes.DbEntityEntry_NotAComplexProperty, p0, p1);
  811. }
  812. /// <summary>
  813. /// A string like "The property '{0}' on type '{1}' is not a primitive property, complex property, collection navigation property, or reference navigation property."
  814. /// </summary>
  815. internal static string DbEntityEntry_NotAProperty(object p0, object p1)
  816. {
  817. return EntityRes.GetString(EntityRes.DbEntityEntry_NotAProperty, p0, p1);
  818. }
  819. /// <summary>
  820. /// A string like ""The property '{0}' from the property path '{1}' is not a complex property on type '{2}'. Property paths must be composed of complex properties for all except the final property.""
  821. /// </summary>
  822. internal static string DbEntityEntry_DottedPartNotComplex(object p0, object p1, object p2)
  823. {
  824. return EntityRes.GetString(EntityRes.DbEntityEntry_DottedPartNotComplex, p0, p1, p2);
  825. }
  826. /// <summary>
  827. /// A string like ""The property path '{0}' cannot be used for navigation properties. Property paths can only be used to access primitive or complex properties.""
  828. /// </summary>
  829. internal static string DbEntityEntry_DottedPathMustBeProperty(object p0)
  830. {
  831. return EntityRes.GetString(EntityRes.DbEntityEntry_DottedPathMustBeProperty, p0);
  832. }
  833. /// <summary>
  834. /// A string like "The navigation property '{0}' on entity type '{1}' cannot be used for entities of type '{2}' because it refers to entities of type '{3}'."
  835. /// </summary>
  836. internal static string DbEntityEntry_WrongGenericFo

Large files files are truncated, but you can click here to view the full file