コード例 #1
0
        private Evidence DbEvidenceToEvidence(EvidenceDb item)
        {
            Evidence e = new Evidence();

            e.ChallengeID = item.ChallengeID;
            e.CustomerID = item.CustomerID;
            e.MediaURL = item.MediaURL;
            e.Type = item.Type;
            e.UniqueID = item.UniqueID;
            e.Content = item.Content;

            return e;
        }
コード例 #2
0
        private EvidenceDb EvidenceToDbEvidence(Evidence item)
        {
            EvidenceDb d = new EvidenceDb();

            d.CustomerID = item.CustomerID;
            d.Content = item.Content;
            d.MediaURL = item.MediaURL;
            d.UniqueID = item.UniqueID;
            d.Type = item.Type;
            d.ChallengeID = item.ChallengeID;

            return d;
        }