Ejemplo n.º 1
0
		public void BeforeEach() {
			var config = new DataBossConfiguration {
				ServerInstance = ".",
				Database = "DataBoss Tests",
			};
			Connection = new SqlConnection(config.GetConnectionString());
			DataBoss = new Program(new NullDataBossLog(), Connection);
			Context = new DataContext(Connection, new DataBossMappingSource());
			DataBoss.Initialize(config);
		}