public static ISchemaBuilderStep <T, TProviderFilter> NewSchema <T, TProviderFilter>(
     this IHiveManager hiveManager,
     string alias)
     where TProviderFilter : class, IProviderTypeFilter
     where T : EntitySchema, new()
 {
     return(new SchemaBuilderStep <T, TProviderFilter>(hiveManager, hiveManager.CreateSchema <T, TProviderFilter>(alias)));
 }
示例#2
0
        public void CreateNormalSchema()
        {
            var schema = Hive.CreateSchema <EntitySchema, IContentStore>("mySchema");

            Assert.NotNull(schema);
        }