While i studying on StrataFlix application, I have noticed that BO's fields called at least 2 times when win form opening.
Call stack is below.
Is this by design?
How can we prevent this?
I think this can yield performance problems since calcuated BO's fields may do some heavy works.
Any advice?
StrataFlix.Business.dll!StrataFlix.Business.MoviesBO.mv_Title.get()Line 296 C#
StrataFlix.Business.dll!StrataFlix.Business.MoviesBO.FieldDescriptor.GetValue(objectcomponent) Line 706 + 0x2e bytes C#
System.Windows.Forms.dll!System.Windows.Forms.BindToObject.GetValue()+ 0x42 bytes
System.Windows.Forms.dll!System.Windows.Forms.Binding.PushData(boolforce) + 0x81 bytes
System.Windows.Forms.dll!System.Windows.Forms.Binding.UpdateIsBinding()+ 0x8b bytes
System.Windows.Forms.dll!System.Windows.Forms.ListManagerBindingsCollection.AddCore(System.Windows.Forms.BindingdataBinding) + 0x37 bytes
System.Windows.Forms.dll!System.Windows.Forms.BindingsCollection.Add(System.Windows.Forms.Bindingbinding) + 0x50 bytes
System.Windows.Forms.dll!System.Windows.Forms.BindingContext.UpdateBinding(System.Windows.Forms.BindingContextnewBindingContext, System.Windows.Forms.Binding binding) + 0xe4 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.UpdateBindings()+ 0x68 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.OnBindingContextChanged(System.EventArgse) + 0x15d bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.OnParentBindingContextChanged(System.EventArgse) + 0x5b bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.OnBindingContextChanged(System.EventArgse) + 0x130 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.OnParentBindingContextChanged(System.EventArgse) + 0x5b bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.OnBindingContextChanged(System.EventArgse) + 0x130 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.CreateControl()+ 0xad bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.SetVisibleCore(boolvalue) + 0x1bc bytes