private void OnAfterSelected(object sender, LinkedDataSourceEventArgs e) { if (e.Index == PrimaryMember.EntityIndex) { PrimaryMember.CurrentEntity = e.Entity; PrimaryMember.DeepLoad(); UpdateControl(e.Entity); } }
private void OnAfterUpdating(object sender, LinkedDataSourceEventArgs e) { if (e.Index == PrimaryMember.EntityIndex) { PrimaryMember.CurrentEntity = e.Entity; PrimaryMember.DeepLoad(); if (PrimaryMember.EnableDeepSave) { UpdateRelationships(e.Entity); } } }