static void Main() { //esProviderFactory.Factory = new EntitySpaces.LoaderMT.esDataProviderFactory(); esProviderFactory.Factory = new EntitySpaces.Loader.esDataProviderFactory(); //ProfilerListener.BeginProfiling("EntitySpaces.SqlClientProvider", // ProfilerListener.Channels.Channel_1); ProfilerListener.BeginProfiling("EntitySpaces.SQLiteProvider", ProfilerListener.Channels.Channel_2); esEntity.AddedByEventHandler += new ModifiedByEventHandler(esEntity_AddedByEventHandler); esEntity.ModifiedByEventHandler += new ModifiedByEventHandler(esEntity_ModifiedByHandler); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }
private void btnBeginProfiling_Click(object sender, EventArgs e) { ProfilerListener.BeginProfiling("EntitySpaces.SqlClientProvider", ProfilerListener.Channels.Channel_1); }