Inheritance: INotifyPropertyChanging, INotifyPropertyChanged
 partial void DeleteDataOperation(DataOperation instance);
 // Instantiates the given data operation and wraps it in a disposable wrapper object.
 private static DataOperationWrapper Wrap(DataOperation operation)
 {
     try
     {
         Assembly assembly = Assembly.LoadFrom(operation.AssemblyName);
         Type type = assembly.GetType(operation.TypeName);
         return new DataOperationWrapper(operation.ID, type);
     }
     catch (Exception ex)
     {
         string message = $"Failed to create data operation of type {operation.TypeName}: {ex.Message}";
         throw new TypeLoadException(message, ex);
     }
 }
 partial void UpdateDataOperation(DataOperation instance);
 partial void InsertDataOperation(DataOperation instance);
Example #5
0
 partial void DeleteDataOperation(DataOperation instance);
Example #6
0
 partial void UpdateDataOperation(DataOperation instance);
Example #7
0
 partial void InsertDataOperation(DataOperation instance);