Example #1
0
 public static void CopyPropertiesTo(this ICoreMetadata data, ICoreMetadata copiedTo)
 {
     copiedTo.Id          = data.Id;
     copiedTo.Identity    = data.Identity;
     copiedTo.Path        = data.Path;
     copiedTo.Created     = data.Created;
     copiedTo.UserCreated = data.UserCreated;
     copiedTo.Updated     = data.Updated;
     copiedTo.UserUpdated = data.UserUpdated;
 }
Example #2
0
 public static bool HasMetadata(this ICoreMetadata data)
 {
     return(data.Identity != Guid.Empty);
 }