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

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