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