public static Int32 DeleteContactFromListing(Int32 contactId, Int32 contactListingId) { ContactListingDSTableAdapter ta = new ContactListingDSTableAdapter(); ta.Connection.ConnectionString = UcConnection.ConnectionString; return(ta.Delete(contactId, contactListingId)); }
public static void InsertContactToListing(Int32 contactId, Int32 contactListingId, string nickname) { ContactListingDSTableAdapter ta = new ContactListingDSTableAdapter(); ta.Connection.ConnectionString = UcConnection.ConnectionString; ta.Insert(contactId, contactListingId, nickname); }
public static ContactDS.ContactListingDSDataTable GetOutgoingListing(Int32 contactId) { ContactListingDSTableAdapter ta = new ContactListingDSTableAdapter(); ta.Connection.ConnectionString = UcConnection.ConnectionString; return(ta.GetOutgoingListing(contactId)); }
public static ContactDS.ContactListingDSDataTable SelectContactListing(Int32 contactId, Int32 contactListngId) { ContactListingDSTableAdapter ta = new ContactListingDSTableAdapter(); ta.Connection.ConnectionString = UcConnection.ConnectionString; return(ta.GetData(contactId, contactListngId)); }
public static ContactDS.ContactListingDSDataTable FindContactListing(Int32 contactId, string searchWords) { ContactListingDSTableAdapter ta = new ContactListingDSTableAdapter(); ta.Connection.ConnectionString = UcConnection.ConnectionString; return(ta.FindContacts(contactId, searchWords)); }