AddressUpdateAddress Method
Builds the SQL script for any value changes.
Namespace: Common.Core.ModelsAssembly: Common.Core (in Common.Core.dll) Version: 2.1.5
public static bool UpdateAddress(
Address obj,
Address mod,
Address cur,
IList<string> list,
string prefix = ""
)
- obj Address
- Address object containing the original values.
- mod Address
- Address object containing the modified values.
- cur Address
- Address object containing the current values.
- list IListString
- List of SQL script changes.
- prefix String (Optional)
- Table column name prefix for Address fields (if required).
Boolean if the current object is equal to the object containing the
original values; otherwise,
.
This method assumes that the table column names are the same as the property names.