Merge pull request #2799 from BrzVlad/fix-conc-card-clean
[mono.git] / mcs / class / System.Data.DataSetExtensions / ReferenceSources / Strings.cs
1 namespace System.Data.DataSetExtensions
2 {
3         static partial class Strings
4         {
5                 const string DataSetLinq_InvalidEnumerationValue_ = "The {0} enumeration value, {1}, is not valid.";
6                 public const string DataSetLinq_EmptyDataRowSource = "The source contains no DataRows.";
7                 public const string DataSetLinq_NullDataRow = "The source contains a DataRow reference that is null.";
8                 public const string DataSetLinq_CannotLoadDeletedRow = "The source contains a deleted DataRow that cannot be copied to the DataTable.";
9                 public const string DataSetLinq_CannotLoadDetachedRow = "The source contains a detached DataRow that cannot be copied to the DataTable.";
10                 public const string DataSetLinq_CannotCompareDeletedRow = "The DataRowComparer does not work with DataRows that have been deleted since it only compares current values.";
11                 const string DataSetLinq_NonNullableCast_ = "Cannot cast DBNull.Value to type '{0}'. Please use a nullable type.";
12                 public const string ToLDVUnsupported = "Can not create DataView after using projection";
13                 const string LDV_InvalidNumOfKeys_ = "Must provide '{0}' keys to find";
14
15                 public static string DataSetLinq_InvalidEnumerationValue (params object[] args)
16                 {
17                         return SR.GetString (DataSetLinq_InvalidEnumerationValue_, args);
18                 }
19
20                 public static string DataSetLinq_NonNullableCast (object arg)
21                 {
22                         return SR.GetString (DataSetLinq_NonNullableCast_, arg);
23                 }
24
25                 public static string LDV_InvalidNumOfKeys (params object[] args)
26                 {
27                         return SR.GetString (LDV_InvalidNumOfKeys_, args);
28                 }
29
30                 // Missing
31                 public const string LDVRowStateError = "LDVRowStateError";
32         }
33 }