/// <summary> /// 复制 /// </summary> public void Clone(DigitalFileEntity entity) { entity.ID = this.ID; entity.MD5 = this.MD5; entity.FileLength = this.FileLength; entity.FileFolder = this.FileFolder; }
/// <summary> /// 复制 /// </summary> /// <returns></returns> public DigitalFileEntity Clone() { DigitalFileEntity entity = new DigitalFileEntity(); Clone(entity); return(entity); }
/// <summary> /// 复制 /// </summary> /// <returns></returns> public DigitalFileEntity Clone() { DigitalFileEntity entity = new DigitalFileEntity(); Clone(entity); return entity; }
/// <summary> /// 是否相等,仅用于Entity对比 /// </summary> public bool Equals(DigitalFileEntity entity) { return entity.MD5 == this.MD5 && entity.FileLength == this.FileLength && entity.FileFolder == this.FileFolder; }
/// <summary> /// 是否相等,仅用于Entity对比 /// </summary> public bool Equals(DigitalFileEntity entity) { return(entity.MD5 == this.MD5 && entity.FileLength == this.FileLength && entity.FileFolder == this.FileFolder); }