• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# IMigrationGenerator类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中IMigrationGenerator的典型用法代码示例。如果您正苦于以下问题:C# IMigrationGenerator类的具体用法?C# IMigrationGenerator怎么用?C# IMigrationGenerator使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



IMigrationGenerator类属于命名空间,在下文中一共展示了IMigrationGenerator类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: JetProcessor

 public JetProcessor(OleDbConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options)
     : base(generator, announcer, options)
 {
     Connection = connection;
     connection.Open();
     BeginTransaction();
 }
开发者ID:dabide,项目名称:fluentmigrator,代码行数:7,代码来源:JetProcessor.cs


示例2: ConnectionlessProcessor

 public ConnectionlessProcessor(IMigrationGenerator generator, IRunnerContext context, IMigrationProcessorOptions options)
 {
     Generator = generator;
     Context = context;
     Announcer = Context.Announcer;
     Options = options;
 }
开发者ID:dmirmilshteyn,项目名称:fluentmigrator,代码行数:7,代码来源:ConnectionlessProcessor.cs


示例3: AzureProcessor

 public AzureProcessor(IDbConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options, IDbFactory factory)
     : base(generator, announcer, options)
 {
     this.factory = factory;
      Connection = connection;
      connection.Open();
 }
开发者ID:fire-eagle,项目名称:fluentmigrator,代码行数:7,代码来源:AzureProcessor.cs


示例4: PostgresProcessor

 public PostgresProcessor(NpgsqlConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options)
     : base(generator, announcer, options)
 {
     Connection = connection;
     connection.Open();
     Transaction = connection.BeginTransaction();
 }
开发者ID:elfrostie,项目名称:fluentmigrator,代码行数:7,代码来源:PostgresProcessor.cs


示例5: GenericProcessorBase

 protected GenericProcessorBase(IDbConnection connection, IDbFactory factory
                                , IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options)
     : base(generator, announcer, options)
 {
     Connection = connection;
     Factory = factory;
 }
开发者ID:kevin3274,项目名称:fluentmigrator,代码行数:7,代码来源:GenericProcessorBase.cs


示例6: SqlServerProcessor

 public SqlServerProcessor(SqlConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options)
     : base(generator, announcer, options)
 {
     Connection = connection;
     connection.Open();
     Transaction = connection.BeginTransaction();
 }
开发者ID:briandonahue,项目名称:fluentmigrator,代码行数:7,代码来源:SqlServerProcessor.cs


示例7: SqlServerProcessor

 public SqlServerProcessor(DbConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options, IDbFactory factory)
     : base(generator, announcer, options)
 {
     this.factory = factory;
     Connection = connection;
     connection.Open();
     BeginTransaction();
 }
开发者ID:remids,项目名称:fluentmigrator,代码行数:8,代码来源:SqlServerProcessor.cs


示例8: OracleProcessor

        public OracleProcessor(IDbConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options)
            : base(generator, announcer, options)
        {
            Connection = connection;

            //oracle does not support ddl transactions
            //this.Transaction = this.Connection.BeginTransaction();
        }
开发者ID:bjoern-sma,项目名称:fluentmigrator,代码行数:8,代码来源:OracleProcessor.cs


示例9: OracleProcessor

        public OracleProcessor(OracleConnection connection, IMigrationGenerator generator)
        {
            this.generator = generator;
            Connection = connection;

            //oracle does not support ddl transactions
            //this.Transaction = this.Connection.BeginTransaction();
        }
开发者ID:ngbrown,项目名称:fluentmigrator,代码行数:8,代码来源:OracleProcessor.cs


示例10: JetProcessor

        public JetProcessor(OleDbConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options)
            : base(generator, announcer, options)
        {
            Connection = connection;

            // Prefetch connectionstring as after opening the security info could no longer be present
            // for instance on sql server
            connectionString = connection.ConnectionString;
        }
开发者ID:BarsBarsovich,项目名称:fluentmigrator,代码行数:9,代码来源:JetProcessor.cs


示例11: PostgresProcessor

        public PostgresProcessor(IDbConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options, IDbFactory factory)
            : base(generator, announcer, options)
        {
            this.factory = factory;
            Connection = connection;
            connection.Open();

            Announcer.Say("Beginning Transaction");
            Transaction = Connection.BeginTransaction();
        }
开发者ID:hazzik,项目名称:fluentmigrator,代码行数:10,代码来源:PostgresProcessor.cs


示例12: GenericProcessorBase

        protected GenericProcessorBase(IDbConnection connection, IDbFactory factory
                                       , IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options)
            : base(generator, announcer, options)
        {
            Connection = connection;

            // Prefetch connectionstring as after opening the security info could no longer be present
            // for instance on sql server
            connectionString = connection.ConnectionString;
            
            Factory = factory;
        }
开发者ID:BarsBarsovich,项目名称:fluentmigrator,代码行数:12,代码来源:GenericProcessorBase.cs


示例13: SqlServerProcessor

 public SqlServerProcessor(SqlConnection connection, IMigrationGenerator generator)
 {
     this.generator = generator;
     Connection = connection;
     Transaction = Connection.BeginTransaction();
 }
开发者ID:ngbrown,项目名称:fluentmigrator,代码行数:6,代码来源:SqlServerProcessor.cs


示例14: ProcessorBase

 protected ProcessorBase(IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options)
 {
     Generator = generator;
     Announcer = announcer;
     Options = options;
 }
开发者ID:Ang3lFir3,项目名称:fluentmigrator,代码行数:6,代码来源:ProcessorBase.cs


示例15: Db2Processor

 public Db2Processor(DbConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options, IDbFactory factory)
     : base(connection, factory, generator, announcer, options)
 {
     this.Quoter = new Db2Quoter();
 }
开发者ID:dmirmilshteyn,项目名称:fluentmigrator,代码行数:5,代码来源:Db2Processor.cs


示例16: SqlServerProcessor

 public SqlServerProcessor(SqlConnection connection, IMigrationGenerator generator)
 {
     this.generator = generator;
     Connection = connection;
 }
开发者ID:developingchris,项目名称:fluentmigrator,代码行数:5,代码来源:SqlServerProcessor.cs


示例17: SqliteProcessor

 public SqliteProcessor(SQLiteConnection connection, IMigrationGenerator generator)
 {
     this.generator = generator;
     Connection = connection;
 }
开发者ID:ngbrown,项目名称:fluentmigrator,代码行数:5,代码来源:SqliteProcessor.cs


示例18: MySqlProcessor

 public MySqlProcessor(MySqlConnection connection, IMigrationGenerator generator)
 {
     this.generator = generator;
     Connection = connection;
 }
开发者ID:shawng,项目名称:fluentmigrator,代码行数:5,代码来源:MySqlProcessor.cs


示例19: SqliteProcessor

 public SqliteProcessor(SQLiteConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options)
     : base(generator, announcer, options)
 {
     Connection = connection;
 }
开发者ID:paulbatum,项目名称:fluentmigrator,代码行数:5,代码来源:SqliteProcessor.cs


示例20: DotConnectOracleProcessor

 public DotConnectOracleProcessor(IDbConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options, DotConnectOracleDbFactory factory)
     : base(connection, factory, generator, announcer, options)
 {
 }
开发者ID:BarsBarsovich,项目名称:fluentmigrator,代码行数:4,代码来源:DotConnectOracleProcessor.cs



注:本文中的IMigrationGenerator类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IMigrationProcessor类代码示例发布时间:2022-05-24
下一篇:
C# IMigrationConventions类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap