Skip to content

Commit 0dc25cb

Browse files
committed
fix ToBindingList issue
1 parent cf88e14 commit 0dc25cb

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

VB/XtraSchedulerEFTest/Form1.Designer.vb

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

VB/XtraSchedulerEFTest/Form1.vb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Namespace XtraSchedulerEFTest
1111
Public Sub New()
1212
InitializeComponent()
1313

14-
schedulerStorage1.Appointments.CommitIdToDataSource = False
1514
schedulerStorage1.Appointments.ResourceSharing = True
1615
schedulerControl1.Storage.Resources.ColorSaving = ColorSavingType.ArgbColor
1716

@@ -54,9 +53,9 @@ Namespace XtraSchedulerEFTest
5453
context.EFAppointments.Load()
5554
context.EFResources.Load()
5655

57-
eFAppointmentBindingSource.DataSource = context.EFAppointments.Local.ToBindingList(Of EFAppointment)()
58-
eFResourceBindingSource.DataSource = context.EFResources.Local.ToBindingList(Of EFResource)()
59-
' #End Region ' #datainit
56+
eFAppointmentBindingSource.DataSource = context.EFAppointments.Local.ToBindingList()
57+
eFResourceBindingSource.DataSource = context.EFResources.Local.ToBindingList()
58+
' #End Region ' #datainit
6059

6160
End Sub
6261

0 commit comments

Comments
 (0)