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