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