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

C# MetadataSource类代码示例

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

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



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

示例1: GetRootFolder

        async void GetRootFolder (LoginOptions options)
        {
            tableView.Source = null;
            tableView.ReloadData ();

            try {
                var profile = await Services.Dropbox.GetProfileAsync (options: options);
                new UIAlertView ("Profile", profile.ToString (), null, "OK").Show ();
            } catch (UriFormatException) {
                new UIAlertView ("Specify your API keys", "Open Services.cs and specify your API keys for each provider.", null, "OK").Show ();
                return;
            } catch {
                Console.WriteLine ("Failed to retrieve Dropbox profile. (Maybe we're logged out?)");
                return;
            }

            DropboxManager.Metadata metadata;
            try {
                metadata = await Services.Dropbox.GetMetadataAsync ("/", includeContent: true, hash: null, options: options);
            } catch {
                Console.WriteLine ("Failed to retrieve Dropbox metadata");
                return;
            }

            if (tableView.Source == null) {
                var source = new MetadataSource (metadata.Contents) {
                    Controller = new WeakReference (this)
                };
                tableView.Source = source;
            } else {
                ((MetadataSource)tableView.Source).Add (metadata.Contents);
            }

            tableView.ReloadData ();
        }
开发者ID:juancampa,项目名称:Stampsy.Social,代码行数:35,代码来源:DropboxViewController.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: 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


示例4: EntitiesModel

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


示例5: Northwind

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


示例6: SupermarketMySqlContext

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


示例7: OpenAccessMySQL

		public OpenAccessMySQL(string connection, MetadataSource metadataSource)
			:base(connection, backend, metadataSource)
		{ }
开发者ID:kaloyan-gospodinov,项目名称:ParadiseSuperMarket,代码行数:3,代码来源:EntitiesModel.cs


示例8: OpenAccessMySqlSupermarketEntityModel

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


示例9: ClinicsMySQLContext

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


示例10: PermissionsModel

		public PermissionsModel(string connection, BackendConfiguration backendConfiguration, MetadataSource metadataSource)
			:base(connection, backendConfiguration, metadataSource)
		{ }
开发者ID:dongarnica,项目名称:data-access-samples,代码行数:3,代码来源:PermissionsModel.cs


示例11: SupermarketModel

		public SupermarketModel(string connection, MetadataSource metadataSource)
			:base(connection, backend, metadataSource)
		{ }
开发者ID:aleks-todorov,项目名称:HomeWorks,代码行数:3,代码来源:Supermarket.Model.cs


示例12: TelerikAcademyModels

		public TelerikAcademyModels(string connection, MetadataSource metadataSource)
			:base(connection, backend, metadataSource)
		{ }
开发者ID:vladislav-karamfilov,项目名称:TelerikAcademy,代码行数:3,代码来源:TelerikAcademyModel.cs


示例13: PharmacyMySqlModel

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


示例14: SupermarketMySqlEntities

		public SupermarketMySqlEntities(string connection, MetadataSource metadataSource)
			:base(connection, backend, metadataSource)
		{ }
开发者ID:bahtev,项目名称:TelerikAcademy,代码行数:3,代码来源:EntitiesModel.cs


示例15: ProductsDBModel

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


示例16: CatalogEntities

		public CatalogEntities(string connection, MetadataSource metadataSource)
			:base(connection, backend, metadataSource)
		{ }
开发者ID:nnaidenov,项目名称:TelerikAcademy,代码行数:3,代码来源:EntitiesModel.cs


示例17: TelerikAcademyEntities

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


示例18: CorridaModel

		public CorridaModel(string connection, MetadataSource metadataSource)
			:base(connection, backend, metadataSource)
		{ }
开发者ID:mdamaceno,项目名称:TelerikCSharp,代码行数:3,代码来源:EntitiesModel.cs


示例19: CentaurFactoryModel

		public CentaurFactoryModel(string connection, BackendConfiguration backendConfiguration, MetadataSource metadataSource)
			:base(connection, backendConfiguration, metadataSource)
		{ }
开发者ID:ScreeM92,项目名称:Software-University,代码行数:3,代码来源:FluentModel.cs


示例20: ElectronicStoreMySQLFluentModel

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



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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