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