public DbContextConverterOptions(DbContextConverterOptions fromOptions = null) { fromOptions = fromOptions ?? DbContextConverterOptions.DEFAULT; this.ContextData = fromOptions.ContextData; this.IncludeNull = fromOptions.IncludeNull; this.Idented = fromOptions.Idented; }
public AbstractDbContextSerializer(DbContext context, DbContextConverterOptions options) { Context = context; if (options == null) { Options = GetDefaultOptions(); } else { Options = options; } }
public XmlDbContextConverter(DbContext context, DbContextConverterOptions options = null) : base(context, new XmlDbContextConverterOptions(options)) { }
public XmlDbContextConverterOptions(DbContextConverterOptions options = null) : base(options) { }