Example #1
0
 public VCardEmail()
 {
     _srcRow = new VCardEmailRow();
 }
Example #2
0
 private VCardEmail(VCardEmailRow row)
 {
     _srcRow = row;
 }
Example #3
0
        public static int Create(int VCardId, VCardAddressTypes type, string UserId, bool IsPrefered)
        {
            VCardEmailRow row = new VCardEmailRow();

            row.VCardId = VCardId;
            row.IsPrefered = IsPrefered;
            row.EmailTypeId = (int)type;
            row.UserId = UserId;

            row.Update();

            return row.PrimaryKeyId;
        }