Пример #1
0
 private void Table_ItemPropertyChanged(IDataTableEntity arg1, DataRowEntityPropertyChangedEventArg arg2)
 {
     SendItemsAyscMsg(arg1, DatabaseEntityMessageType.ItemPropertyValueChanged, null, arg2);
 }
Пример #2
0
 private void Table_ItemRemoved(IDataTableEntity arg1, DataRowEntity[] arg2)
 {
     SendItemsAyscMsg(arg1, DatabaseEntityMessageType.ItemRemmoved, arg2, null);
 }
Пример #3
0
 private void SendItemsAyscMsg(IDataTableEntity table, DatabaseEntityMessageType messageType, DataRowEntity[] rows, DataRowEntityPropertyChangedEventArg arg)
 {
     try
     {
         string ownerTypeID;
         dic_Type_Name.TryGetValue(GetType(), out ownerTypeID);
         ServerActivator.ServerInstance.SendTableChangedAyscMsg(GetUsers(), ownerTypeID, table, messageType, rows, arg);
         //ServerActivator.ServerInstance.GetType().InvokeMember("SendTableChangedAyscMsg", BindingFlags.NonPublic | BindingFlags.InvokeMethod | BindingFlags.Instance, null, ServerActivator.ServerInstance, new object[] { this, table, messageType, rows, arg });
     }
     catch (Exception e)
     {
         Debug.OutputException(e);
     }
 }