public void CopyTo(BasAttachmentInfo obj) { obj.FileNo = this.FileNo; obj.FileType = this.FileType; obj.FriendlyKey = this.FriendlyKey; obj.FileName = this.FileName; obj.OriginalName = this.OriginalName; obj.ExtensionName = this.ExtensionName; obj.FullPath = this.FullPath; obj.PhysicalPath = this.PhysicalPath; obj.DeleteFlag = this.DeleteFlag; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; }
public Object Clone() { BasAttachmentInfo obj = new BasAttachmentInfo(); obj.FileNo = this.FileNo; obj.FileType = this.FileType; obj.FriendlyKey = this.FriendlyKey; obj.FileName = this.FileName; obj.OriginalName = this.OriginalName; obj.ExtensionName = this.ExtensionName; obj.FullPath = this.FullPath; obj.PhysicalPath = this.PhysicalPath; obj.DeleteFlag = this.DeleteFlag; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; return(obj); }