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

C# BackendConfiguration类代码示例

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

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



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

示例1: GetBackendConfiguration

		public static BackendConfiguration GetBackendConfiguration()
		{
			BackendConfiguration backend = new BackendConfiguration();
			backend.Backend = "MsSql";
			backend.ProviderName = "System.Data.SqlClient";
			return backend;
		}
开发者ID:Jarolim,项目名称:AllMyHomeworkForTelerikAcademy,代码行数:7,代码来源:EntitiesModel.cs


示例2: MySqlDbContext

 public MySqlDbContext(
     string connection,
     BackendConfiguration backendConfiguration,
     MetadataSource metadataSource)
     : base(connection, backendConfiguration, metadataSource)
 {
 }
开发者ID:Team-Tower-Databases-Online,项目名称:Databases-Teamwork-2015,代码行数:7,代码来源:EntitiesModel.cs


示例3: GetBackendConfiguration

 public static BackendConfiguration GetBackendConfiguration()
 {
     BackendConfiguration backend = new BackendConfiguration();
     backend.Backend = "Oracle";
     backend.ProviderName = "Oracle.ManagedDataAccess.Client";
     return backend;
 }
开发者ID:BRozas,项目名称:immobilis,代码行数:7,代码来源:FluentModel.cs


示例4: GetBackendConfiguration

        public static BackendConfiguration GetBackendConfiguration()
        {
            BackendConfiguration backend = new BackendConfiguration();
            backend.Backend = "mysql";
            backend.ProviderName = "MySql.Data.MySqlClient";

            return backend;
        }
开发者ID:Europium-TA,项目名称:DB-Project,代码行数:8,代码来源:FluentModel.cs


示例5: GetBackendConfiguration

        public static BackendConfiguration GetBackendConfiguration()
        {
            var backend = new BackendConfiguration { Backend = "MsSql", ProviderName = "System.Data.SqlClient" };
            backend.Logging.MetricStoreSnapshotInterval = 0;
            backend.Runtime.SupportConcurrentThreadsInScope = true;

            return backend;
        }
开发者ID:KatoTek,项目名称:Jobs,代码行数:8,代码来源:EntitiesModel.cs


示例6: GetBackendConfiguration

        public static BackendConfiguration GetBackendConfiguration()
        {
            var backend = new BackendConfiguration { Backend = "MySql", ProviderName = "MySql.Data.MySqlClient" };

            CustomizeBackendConfiguration(ref backend);

            return backend;
        }
开发者ID:Team-Tower-Databases-Online,项目名称:Databases-Teamwork-2015,代码行数:8,代码来源:EntitiesModel.cs


示例7: GetBackendConfiguration

 public static BackendConfiguration GetBackendConfiguration()
 {
     var backendConfig = new BackendConfiguration()
     {
         Backend = "MsSql",
         ProviderName = "System.Data.SqlClient",                
     };
     return backendConfig;
 }
开发者ID:jhuntsman,项目名称:EasyNetQ.Wf,代码行数:9,代码来源:WorkflowDurableInstancingDataContext.cs


示例8: GetBackEndConfig

        private static BackendConfiguration GetBackEndConfig()
        {
            var config = new BackendConfiguration();

            config.Backend = "MySql";
            config.ProviderName = "MySql.Data.MySqlClient";

            return config;
        }
开发者ID:Team-Neptunium,项目名称:Databases-Team-Neptunium,代码行数:9,代码来源:BoardgameSimulatorMySqlDbContext.cs


示例9: GetBackendConfiguration

		public static BackendConfiguration GetBackendConfiguration()
		{
			BackendConfiguration backend = new BackendConfiguration();
			backend.Backend = "SQLite";
			backend.ProviderName = "System.Data.SQLite";
		
			CustomizeBackendConfiguration(ref backend);
		
			return backend;
		}
开发者ID:seriussoft,项目名称:TimeKeeper,代码行数:10,代码来源:EntitiesModel.cs


示例10: GetBackendConfiguration

		public static BackendConfiguration GetBackendConfiguration()
		{
			BackendConfiguration backend = new BackendConfiguration();
			backend.Backend = "MsSql";
			backend.ProviderName = "System.Data.SqlClient";
			backend.Logging.MetricStoreSnapshotInterval = 0;
		
			CustomizeBackendConfiguration(ref backend);
		
			return backend;
		}
开发者ID:dongarnica,项目名称:data-access-samples,代码行数:11,代码来源:UsersModel.cs


示例11: GetBackendConfiguration

		public static BackendConfiguration GetBackendConfiguration()
		{
			BackendConfiguration backend = new BackendConfiguration();
			backend.Backend = "MsSql";
			backend.ProviderName = "System.Data.SqlClient";
			backend.Logging.MetricStoreSnapshotInterval = 0;
			backend.ConnectionPool.IsolationLevel = IsolationLevel.ReadUncommitted;
		
			CustomizeBackendConfiguration(ref backend);
		
			return backend;
		}
开发者ID:edikep2000,项目名称:bscomeval,代码行数:12,代码来源:EntitiesModel.cs


示例12: GetBackendConfiguration

		public static BackendConfiguration GetBackendConfiguration()
		{
			BackendConfiguration backend = new BackendConfiguration();
			backend.Backend = "MsSql";
			backend.ProviderName = "System.Data.SqlClient";
			backend.Logging.LogEvents = LoggingLevel.All;
			backend.Logging.LogEventsToSysOut = true;
			backend.Logging.EventStoreCapacity = 10000;
			backend.Logging.MetricStoreCapacity = 3600;
			backend.Logging.Downloader.Filename = "c:\\testrun";
			backend.Logging.Downloader.EventBinary = true;
			backend.Logging.Downloader.MetricBinary = true;
		
			CustomizeBackendConfiguration(ref backend);
		
			return backend;
		}
开发者ID:dongarnica,项目名称:data-access-samples,代码行数:17,代码来源:EntitiesModel.cs


示例13: WorkflowDurableInstancingDataContext

 public WorkflowDurableInstancingDataContext(string connectionString, BackendConfiguration backend, MetadataSource metadataSource)
     : base(connectionString, backend, metadataSource)
 {
     var schemaHandler = GetSchemaHandler();
     string script = null;
     if (schemaHandler.DatabaseExists())
     {
         script = schemaHandler.CreateUpdateDDLScript(null);
     }
     else
     {
         schemaHandler.CreateDatabase();
         script = schemaHandler.CreateDDLScript();
     }
     if (!String.IsNullOrEmpty(script))
     {
         schemaHandler.ExecuteDDLScript(script);
     }
 }
开发者ID:jhuntsman,项目名称:EasyNetQ.Wf,代码行数:19,代码来源:WorkflowDurableInstancingDataContext.cs


示例14: DataContext

        static DataContext() {
            MetadataContainer = new DataMetadataSource().GetModel();
            BackendConfiguration = new BackendConfiguration();

            #if DEBUG
            // Debug data access by logging queries
            BackendConfiguration.Logging.LogEvents = LoggingLevel.Normal;
            BackendConfiguration.Logging.StackTrace = true;
            BackendConfiguration.Logging.EventStoreCapacity = 10000;
            BackendConfiguration.Logging.MetricStoreCapacity = 3600;
            BackendConfiguration.Logging.MetricStoreSnapshotInterval = 1000;
            BackendConfiguration.Logging.Downloader.EventBinary = true;
            BackendConfiguration.Logging.Downloader.MetricBinary = true;
            BackendConfiguration.Logging.Downloader.Filename = "C:\\Temp\\DataAccess";
            BackendConfiguration.Logging.Downloader.MaxFileSizeKB = 1000;
            BackendConfiguration.Logging.Downloader.NumberOfBackups = 3;
            BackendConfiguration.Logging.Downloader.EventPollSeconds = 1;
            BackendConfiguration.Logging.Downloader.MetricPollSeconds = 1;
            #else
            BackendConfiguration.Logging.LogEvents = LoggingLevel.Errors;
            #endif
        }
开发者ID:cmarfia,项目名称:KalikoCMS.Core,代码行数:22,代码来源:DataContext.cs


示例15: EntitiesModel

		public EntitiesModel(BackendConfiguration backendConfiguration)
			:base(connectionStringName, backendConfiguration, metadataSource)
		{ }
开发者ID:Jarolim,项目名称:AllMyHomeworkForTelerikAcademy,代码行数:3,代码来源:EntitiesModel.cs


示例16: Northwind

		public Northwind(string connection, BackendConfiguration backendConfiguration, MetadataSource metadataSource)
			:base(connection, backendConfiguration, metadataSource)
		{ }
开发者ID:slieser,项目名称:sandbox,代码行数:3,代码来源:Northwind.cs


示例17: GetBackendConfiguration

		public static BackendConfiguration GetBackendConfiguration()
		{
			BackendConfiguration backend = new BackendConfiguration();
			backend.Backend = "mssql";
			return backend;
		}
开发者ID:slieser,项目名称:sandbox,代码行数:6,代码来源:Northwind.cs


示例18: CustomizeBackendConfiguration

		/// <summary>
		/// Allows you to customize the BackendConfiguration of EntitiesModel.
		/// </summary>
		/// <param name="config">The BackendConfiguration of EntitiesModel.</param>
		static partial void CustomizeBackendConfiguration(ref BackendConfiguration config);
开发者ID:jlcampra,项目名称:back-end-t2c,代码行数:5,代码来源:EntitiesModel.cs


示例19: GetBackendConfiguration

		public static BackendConfiguration GetBackendConfiguration()
		{
			BackendConfiguration backend = new BackendConfiguration();
			backend.Backend = "MsSql";
			backend.ProviderName = "System.Data.SqlClient";
			backend.Logging.LogEvents = LoggingLevel.Normal;
			backend.Logging.MetricStoreSnapshotInterval = 0;
			backend.Logging.Downloader.Filename = "Log";
			backend.Logging.Downloader.EventText = true;
			return backend;
		}
开发者ID:Certun,项目名称:TRAapi,代码行数:11,代码来源:EntitiesModel.cs


示例20: SupermarketMySqlContext

		public SupermarketMySqlContext(BackendConfiguration backendConfiguration)
			:base(connectionStringName, backendConfiguration, metadataSource)
		{ }
开发者ID:polinaak,项目名称:Polina-Telerik-Academy,代码行数:3,代码来源:EntitiesModel.cs



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C# BackgroundAudioPlayer类代码示例发布时间:2022-05-24
下一篇:
C# BackRequestedEventArgs类代码示例发布时间: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