applyServerGeneratedIdToEntity method

  1. @override
ProjectStaffModel applyServerGeneratedIdToEntity(
  1. ProjectStaffModel entity,
  2. String serverGeneratedId,
  3. int rowVersion
)
override

Implementation

@override
ProjectStaffModel applyServerGeneratedIdToEntity(
  ProjectStaffModel entity,
  String serverGeneratedId,
  int rowVersion,
) =>
    entity.copyWith(id: serverGeneratedId, rowVersion: rowVersion);