Пример #1
0
            // generate parameter (name based on parameter ordinal)
            internal IngresParameter CreateParameter(object value, TypeUsage type)
            {
                PrimitiveTypeKind primitiveType = MetadataHelpers.GetPrimitiveTypeKind(type);
                IngresType        dbType        = MetadataHelpers.GetIngresType(primitiveType);

                return(CreateParameter(value, dbType));
            }