Beispiel #1
0
 public VCardTelephone()
 {
     _srcRow = new VCardTelephoneRow();
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VCardTelephone"/> class.
 /// </summary>
 /// <param name="row">The row.</param>
 private VCardTelephone(VCardTelephoneRow row)
 {
     _srcRow = row;
 }
Beispiel #3
0
        /// <summary>
        /// Creates the specified V card id.
        /// </summary>
        /// <param name="VCardId">The V card id.</param>
        /// <param name="Type">The type.</param>
        /// <param name="Number">The number.</param>
        /// <returns></returns>
        public static int Create(int VCardId, VCardTelephoneTypes Type, string Number)
        {
            VCardTelephoneRow row = new VCardTelephoneRow();

            row.VCardId = VCardId;
            row.TelephoneTypeId = (int)Type;
            row.Number = Number;

            row.Update();

            return row.PrimaryKeyId;
        }