Example #1
0
 internal static Exception InvalidParameterType(DbParameterCollection collection, Type parameterType, object invalidValue)
 {
     return(CollectionInvalidType(collection.GetType(), parameterType, invalidValue));
 }
Example #2
0
 internal static Exception ParametersSourceIndex(string parameterName, DbParameterCollection collection, Type parameterType)
 {
     return(CollectionIndexString(parameterType, ADP.ParameterName, parameterName, collection.GetType()));
 }
Example #3
0
 internal static Exception ParameterNull(string parameter, DbParameterCollection collection, Type parameterType)
 {
     return(CollectionNullValue(parameter, collection.GetType(), parameterType));
 }
Example #4
0
 //
 // : IDataParameterCollection
 //
 internal static Exception ParametersMappingIndex(int index, DbParameterCollection collection)
 {
     return(CollectionIndexInt32(index, collection.GetType(), collection.Count));
 }
Example #5
0
 static internal Exception InvalidParameterType(DbParameterCollection collection, Type parameterType, object invalidValue)
 {
     return CollectionInvalidType(collection.GetType(), parameterType, invalidValue);
 }
Example #6
0
 static internal Exception ParameterNull(string parameter, DbParameterCollection collection, Type parameterType)
 {
     return CollectionNullValue(parameter, collection.GetType(), parameterType);
 }
Example #7
0
 static internal Exception ParametersSourceIndex(string parameterName, DbParameterCollection collection, Type parameterType)
 {
     return CollectionIndexString(parameterType, ADP.ParameterName, parameterName, collection.GetType());
 }
Example #8
0
 //
 // : IDataParameterCollection
 //
 static internal Exception ParametersMappingIndex(int index, DbParameterCollection collection)
 {
     return CollectionIndexInt32(index, collection.GetType(), collection.Count);
 }