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);
Exemplo n.º 5
0
 partial void DeleteDataWriter(DataWriter instance);
Exemplo n.º 6
0
 partial void UpdateDataWriter(DataWriter instance);
Exemplo n.º 7
0
 partial void InsertDataWriter(DataWriter instance);