applyServerGeneratedIdToEntity method

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

Implementation

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