Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properties/Fields, Multiple Primary Keys #839

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aWeinhold
Copy link

Change between Properties and Fields for Classes

We needed the ability to use Fields instead of Properties for classes. So we decided to add a mode TableMapping.ColumnMemberInfoType to SQLiteConnection.
If set to PropertyInfo, all properties are read which is the default behaviour.
When set to FieldInfo, all public fields are used.

Add Multiple Primary Keys for a single Table

We needed multiple Primary Keys for a single Table, we added this in CreateTable.

### Change between Properties and Fields for Classes ###
We needed the ability to use Fields instead of Properties for classes. So we decided to add a mode `TableMapping.ColumnMemberInfoType` to `SQLiteConnection`.
If set to `PropertyInfo`, all properties are read which is the ***default*** behaviour.
When set to `FieldInfo`, all public fields are used.


### Add Multiple Primary Keys for a single Table ###
We needed multiple Primary Keys for a single Table, we added this in `CreateTable`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant