Exemple #1
0
        /// <summary>
        /// interval
        /// </summary>
        internal static object ToInterval(NpgsqlBackendTypeInfo typeInfo, byte[] bBackendData, Int16 typeSize,
                                          Int32 typeModifier)
        {
            string backendData = BackendEncoding.UTF8Encoding.GetString(bBackendData);

            return(NpgsqlInterval.Parse(backendData));
        }
 /// <summary>
 /// interval
 /// </summary>
 internal static object ToInterval(NpgsqlBackendTypeInfo typeInfo, String backendData, Int16 typeSize,
                                   Int32 typeModifier)
 {
     return(NpgsqlInterval.Parse(backendData));
 }