Inheritance: IDbContextOptionsExtension
 protected virtual FluentModelBuilderOptionsBuilder SetOption(
     Action<FluentModelBuilderOptionsExtension> setAction)
 {
     var extension = new FluentModelBuilderOptionsExtension();
     setAction(extension);
     ((IDbContextOptionsBuilderInfrastructure) _builder).AddOrUpdateExtension(extension);
     return this;
 }
Beispiel #2
0
        protected virtual FluentModelBuilderOptionsBuilder SetOption(
            Action <FluentModelBuilderOptionsExtension> setAction)
        {
            var extension = new FluentModelBuilderOptionsExtension();

            setAction(extension);
            ((IDbContextOptionsBuilderInfrastructure)_builder).AddOrUpdateExtension(extension);
            return(this);
        }
Beispiel #3
0
 public FluentModelBuilderOptionsExtension(FluentModelBuilderOptionsExtension copyFrom)
 {
     ConfigurationActions = copyFrom.ConfigurationActions;
 }
 public FluentModelBuilderOptionsExtension(FluentModelBuilderOptionsExtension copyFrom)
 {
     ConfigurationActions = copyFrom.ConfigurationActions;
 }