public NoteProxy GetProxy()
        {
            NoteProxy result = new NoteProxy();

            result.ProductFamilyID = this.ProductFamilyID;
            result.ImportFileID    = this.ImportFileID;
            result.NeedsIndexing   = this.NeedsIndexing;
            result.ModifierID      = this.ModifierID;
            result.CreatorID       = this.CreatorID;
            result.Description     = (this.Description);
            result.Title           = (this.Title);
            result.RefID           = this.RefID;
            result.RefType         = this.RefType;
            result.NoteID          = this.NoteID;
            result.CreatorName     = this.CreatorName;
            result.ProductFamily   = this.ProductFamily;
            result.IsAlert         = this.IsAlert;
            result.ActivityType    = this.ActivityType;
            result.DateOccurred    = this.DateOccurred == null ? null : this.DateOccurred;

            result.DateCreated  = DateTime.SpecifyKind(this.DateCreatedUtc, DateTimeKind.Utc);
            result.DateModified = DateTime.SpecifyKind(this.DateModifiedUtc, DateTimeKind.Utc);


            return(result);
        }
Beispiel #2
0
        public NoteProxy GetProxy()
        {
            NoteProxy result = new NoteProxy();

            result.ProductFamilyID = this.ProductFamilyID;
            result.ImportFileID    = this.ImportFileID;
            result.IsAlert         = this.IsAlert;
            result.NeedsIndexing   = this.NeedsIndexing;
            result.ModifierID      = this.ModifierID;
            result.CreatorID       = this.CreatorID;
            result.Description     = this.Description;
            result.Title           = this.Title;
            result.RefID           = this.RefID;
            result.RefType         = this.RefType;
            result.NoteID          = this.NoteID;

            result.DateCreated  = DateTime.SpecifyKind(this.DateCreatedUtc, DateTimeKind.Utc);
            result.DateModified = DateTime.SpecifyKind(this.DateModifiedUtc, DateTimeKind.Utc);


            return(result);
        }