CompanyRead Method
Builds a Company object from a database table row.
Namespace: Common.Core.ModelsAssembly: Common.Core (in Common.Core.dll) Version: 2.1.5
public static Company Read(
DataRow row,
string addPrefix = ""
)
- row DataRow
- Database row containing the Company columns.
- addPrefix String (Optional)
- Table column prefix for Address fields if required.
CompanyCompany object containing the database values.
This method assumes that the table column names are the same as the property names.