public VCardTelephone() { _srcRow = new VCardTelephoneRow(); }
/// <summary> /// Initializes a new instance of the <see cref="VCardTelephone"/> class. /// </summary> /// <param name="row">The row.</param> private VCardTelephone(VCardTelephoneRow row) { _srcRow = row; }
/// <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; }