C# Class Oda.Contact

Contact information.
Inheritance: JsonMethods
显示文件 Open project: CorbinDallas/Oda Class Usage Examples

Public Methods

Method Description
Contact ( ) : System

Initializes a new instance of the Contact class.

Update ( SqlConnection cn, SqlTransaction trans ) : Contact

Updates this contact writing the contact to the database.

Private Methods

Method Description
GetResString ( string resourceString ) : string

Gets a resource string from the static plugin reference.

UpdateContact ( string contactId, string accountId, string first, string middle, string last, string address, string address2, string city, string state, string zip, string email, string company, string title, string webAddress, string imAddress, string fax, string home, string work, string mobile, string notes, System.Int64 type ) : JsonResponse

Method Details

Contact() public method

Initializes a new instance of the Contact class.
public Contact ( ) : System
return System

Update() public method

Updates this contact writing the contact to the database.
public Update ( SqlConnection cn, SqlTransaction trans ) : Contact
cn System.Data.SqlClient.SqlConnection
trans System.Data.SqlClient.SqlTransaction
return Contact