コード例 #1
0
ファイル: Program.cs プロジェクト: yxlbyc/Chloe
 /* documentation:http://www.52chloe.com/Wiki/Document */
 public static void Main(string[] args)
 {
     SQLiteDemo.Test();
     //MsSqlDemo.Test();
     //MySqlDemo.Test();
     //OracleDemo.Test();
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: yj-smart/Chloe
        /* documentation:http://www.52chloe.com/Wiki/Document */
        public static void Main(string[] args)
        {
            IDbCommandInterceptor interceptor = new DbCommandInterceptor();

            DbInterception.Add(interceptor);

            SQLiteDemo.Test();
            //MsSqlDemo.Test();
            //MySqlDemo.Test();
        }
コード例 #3
0
        /* documentation:http://www.52chloe.com/Wiki/Document */
        public static void Main(string[] args)
        {
            IDbCommandInterceptor interceptor = new DbCommandInterceptor();

            DbInterception.Add(interceptor);

            SQLiteDemo.Test();
            MsSqlDemo.Test();
            MySqlDemo.Test();

            RegisterMappingTypeDemo.RunDemo();
        }
コード例 #4
0
        /* documentation:http://www.52chloe.com/Wiki/Document */
        public static void Main(string[] args)
        {
            /* 添加拦截器,输出 sql 语句极其相应的参数 */
            IDbCommandInterceptor interceptor = new DbCommandInterceptor();

            DbInterception.Add(interceptor);

            SQLiteDemo.Run();
            MsSqlDemo.Run();
            MySqlDemo.Run();
            OracleDemo.Run();

            //RegisterMappingTypeDemo.RunDemo();
        }
コード例 #5
0
        /* documentation:http://www.52chloe.com/Wiki/Document */
        public static void Main(string[] args)
        {
            /* 添加拦截器,输出 sql 语句极其相应的参数 */
            IDbCommandInterceptor interceptor = new DbCommandInterceptor();

            DbConfiguration.UseInterceptors(interceptor);

            RegisterMappingType();

            /* fluent mapping */
            DbConfiguration.UseTypeBuilders(typeof(UserMap));

            SQLiteDemo.Run();
            MsSqlDemo.Run();
            MySqlDemo.Run();
            PostgreSQLDemo.Run();
            OracleDemo.Run();
        }