dotnetcore / dotnetcore/SmartCode

SmartCode是否可以加入联合主键的识别和代码生成?

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
577
Forks
167
PR merge metrics
No merged PRs in 30d

Description

目前SmartCode生成的代码,在联合主键的表格中都是简单将第一列当成主键形式生成的,是否可以支持生成一个联合主键列构成的简单封装来作为主键参数?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names SmartCode's generated code but does not identify files, tests, or an entry point. Start by locating the table-schema and primary-key handling in the generator, then determine how composite keys should be represented and generated. Done means composite-primary-key tables are recognized and their generated code uses a single composite-key parameter object rather than only the first column.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.