public static ISystemBuilder UseViewsFeature(this ISystemBuilder builder) { return(builder.UseFeature(feature => feature.Named(SystemFeatureNames.Views) .WithAssemblyVersion() .OnSystemBuild(OnBuild) .OnTableCompositeCreate(OnCompositeCreate))); }
public static ISystemBuilder UseFeature(this ISystemBuilder builder, Action <FeatureBuilder> feature) { var featureBuilder = new FeatureBuilder(); feature(featureBuilder); return(builder.UseFeature(featureBuilder.Build())); }
public static ISystemBuilder UseRoutinesFeature(this ISystemBuilder builder) { return(builder.UseFeature(feature => feature.Named(SystemFeatureNames.Routines) .WithAssemblyVersion() .OnSystemBuild(OnBuild) .OnDatabaseCreate(OnDatabaseCreate) .OnTableCompositeSetup(OnCompositeSetup))); }
public static ISystemBuilder UseSequencesFeature(this ISystemBuilder builder) { return(builder.UseFeature(feature => feature.Named(SystemFeatureNames.Sequences) .WithAssemblyVersion() .OnSystemBuild(OnBuild) .OnTableCompositeCreate(OnCompositeCreate))); //builder.Use<ITableCompositeCreateCallback>(options => options // .With<SequencesInit>() // .InQueryScope()); }