Exemplo n.º 1
0
 public override ISpecificType CreateSpecificTypeInstance(object enumValue)
 {
     return(SqliteTypeBase.CreateType((SqliteTypeCode)enumValue));
 }
Exemplo n.º 2
0
        /// <summary>
        /// determines SQLite type affinity
        /// </summary>
        /// <param name="row">row from GetSchema(columns) call</param>
        /// <returns></returns>
        protected override DbTypeBase AnalyseType(IDataRecord row, IPhysicalConnection conn, bool isdomain)
        {
            SqliteTypeBase res = MakeSpecificSqliteType(row);

            return(res.ToGenericType());
        }