createPrismaDataSource(client: PrismaClient,entity: string,provider?: PrismaSqlProvider,keyColumns?: readonly string[],compoundKeyField?: string): DataSource
Creates a DataSource backed by a Prisma client for the given
entity name.
Convention: entity name 'User' → delegate accessed as client.user
(first letter lowercased). If the delegate is absent on the client, the
error names the entity and the convention so the caller can fix the entity
name.
optional
provider: PrismaSqlProvider
The Prisma SQL provider (connector)
A data source bound to the Prisma model