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

Enhancement: Add a Type Map attribute for Microsoft SqLite. #884

Closed
mikependon opened this issue Sep 13, 2021 · 1 comment
Closed

Enhancement: Add a Type Map attribute for Microsoft SqLite. #884

mikependon opened this issue Sep 13, 2021 · 1 comment
Assignees
Labels
deployed Feature or bug is deployed at the current release enhancement New feature or request fixed The bug, issue, incident has been fixed.

Comments

@mikependon
Copy link
Owner

Describe the enhancement

For us to be able to set the SqLiteParameter.SqliteType property (like with any other RDBMS providers), we need to introduce an attribute that is capable of setting such property.

The propose name would be SqliteParameterDbTypeAttribute as the new standard of the others.

public class EntityClass
{
      [SqliteParameterDbTypeAttribute(SqliteType.Text)]
      public string Name { get; set; }

      [SqliteParameterDbTypeAttribute(SqliteType.Blob)]
      public byte[] Image { get; set; }
}
@mikependon mikependon added the enhancement New feature or request label Sep 13, 2021
@mikependon mikependon self-assigned this Sep 13, 2021
@mikependon mikependon added the fixed The bug, issue, incident has been fixed. label Sep 13, 2021
@mikependon
Copy link
Owner Author

Will be available on the next version of the library > RepoDb.SqLite v1.1.3.

@mikependon mikependon added the deployed Feature or bug is deployed at the current release label Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed Feature or bug is deployed at the current release enhancement New feature or request fixed The bug, issue, incident has been fixed.
Projects
None yet
Development

No branches or pull requests

1 participant