c# - How to define a property whose type in database is bit? -


I have a source of type bit in the database but I want to set my value in my program. How can I do that? I know it was a simple doubt but I was a little confused. Do I have to use a byte when setting this way or not? Anyone can help me immediately.

Use for representation bits from the database:

   

), the bit mapped to the default by bool Will go

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -