public static void Update(int id, EntitySensitiveInformation sensitiveInformation) { string columnsAndValues = BuilderColumnsValuesSensitiveInformation .GetValuesAndColumnsToUpdate(sensitiveInformation); SqlCommandUpdateById.Execute(tableName, id, columnsAndValues.ToString()); }
public static void Update(int id, EntityUser user) { string columnsAndValues = BuilderColumnsAndValuesUser.GetValuesAndColumnsToUpdate(user); SqlCommandUpdateById.Execute(tableName, id, columnsAndValues.ToString()); }