Example #1
0
 public PatchData(PatchTypeEnum type, int?id)
 {
     this.PatchType     = type;
     this.PatchClientID = id;
 }
Example #2
0
 public static PatchData GetPatchData <TSource>(TSource obj) where TSource : IDataModel
 {
     return(new PatchData(PatchTypeEnum.GetType(obj.PatchType), obj.PatchClientID));
 }