EFIngresProvider/EFIngresProviderServices.cs
/// <summary>
/// Chooses the appropriate IngresType for the given binary type.
/// </summary>
Chooses the appropriate IngresType for the given binary type.
Chooses the appropriate IngresType for the given binary type .
private static IngresType GetBinaryDbType(TypeUsage type)
        {
            Debug.Assert(type.EdmType.BuiltInTypeKind == BuiltInTypeKind.PrimitiveType &&
                PrimitiveTypeKind.Binary == ((PrimitiveType)type.EdmType).PrimitiveTypeKind, "only valid for binary type");
            bool fixedLength;
            if (!MetadataHelpers.TryGetIsFixedLength(type, out fixedLength))
            {
                fixedLength = false;
            }
            return fixedLength ? IngresType.Binary : IngresType.VarBinary;
        }
private static IngresType GetBinaryDbType ( TypeUsage type ) { Debug . Assert ( type . EdmType . BuiltInTypeKind == BuiltInTypeKind . PrimitiveType && PrimitiveTypeKind . Binary == ( ( PrimitiveType ) type . EdmType ) . PrimitiveTypeKind , " " ) ; bool fixedLength ; if ( ! MetadataHelpers . TryGetIsFixedLength ( type , out fixedLength ) ) { fixedLength = false ; } return fixedLength ? IngresType . Binary : IngresType . VarBinary ; }
Chooses the appropriate IngresType for the given binary type.
Chooses the appropriate IngresType for the given binary type .
// Specific type depends on whether the binary value is fixed length. By default, assume variable length.
type
TypeUsage