Exemplo n.º 1
0
 public override IDataBuilder AddProviderServices(IDataBuilder builder)
 {
     builder.AddSqlite(options =>
     {
     });
     //services.Configure<RepositoryOptions>(options =>
     //{
     //    options.DbLinks.Add(new DbLink.DbLinkItem() { Name = "test", DbType = "Sqlite", ConnectionString = "Data Source=test.db" });
     //});
     builder.AddDbLink("test", "Sqlite", "Data Source=test.db");
     return(builder);
 }