1 namespace System.Data.DataSetExtensions
3 static partial class Strings
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";
15 public static string DataSetLinq_InvalidEnumerationValue (params object[] args)
17 return SR.GetString (DataSetLinq_InvalidEnumerationValue_, args);
20 public static string DataSetLinq_NonNullableCast (object arg)
22 return SR.GetString (DataSetLinq_NonNullableCast_, arg);
25 public static string LDV_InvalidNumOfKeys (params object[] args)
27 return SR.GetString (LDV_InvalidNumOfKeys_, args);
31 public const string LDVRowStateError = "LDVRowStateError";