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

add support for the tinyint data type [CORE5635] #5901

Open
firebird-automations opened this issue Oct 10, 2017 · 4 comments
Open

add support for the tinyint data type [CORE5635] #5901

firebird-automations opened this issue Oct 10, 2017 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Roberto Carlos da Silva (robertosistemas)

Please add support for the tinyint data type as well as other database support such as sql server, oracle mysql, etc ... I am not able to use a framework because it requires this type of data that is not currently implemented in firebird . The framework in question is the https://aspnetboilerplate.com/
I even opened an incident log with the developers. But the problem is lack of tinyint support. See the discussion:
aspnetboilerplate/aspnetboilerplate#1997

@firebird-automations
Copy link
Collaborator Author

Commented by: @aafemt

As Jiri already suggested, add mapping of "Byte" into "smallint" to your framework.

@firebird-automations
Copy link
Collaborator Author

Commented by: Roberto Carlos da Silva (robertosistemas)

I tried to do what Jiri suggested but it did not work out and I believe this is not the best solution.
The best solution that would not only contemplate this need of this framework but would also facilitate the migration of other systems to firebird is the correct implementation of the tinyint data type in the database enginer as well as the implementation of the byte type support in access drives.

@firebird-automations
Copy link
Collaborator Author

Commented by: Sean Leyne (seanleyne)

Had you tried defining a "SmallInt" domain which maps to a Integer for storage?

@firebird-automations
Copy link
Collaborator Author

Commented by: Roberto Carlos da Silva (robertosistemas)

Yes I have tried to use a domain mapping smallint to tinyint, but it did not work because this only provides a different name for smallint and the field type will still be smallint. The problem is that the EntityFramework.Firebird driver does not support the Byte type that is equivalent to the tinyint type, and at the time of creating the objects using Migration it gives an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant