Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6639297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:32:14+00:00 2026-05-25T23:32:14+00:00

I am very new to ADo.net entity framework and i am getting the following

  • 0

I am very new to ADo.net entity framework and i am getting the following error

 The type 'Edm.Byte' of the member 'IsActive' in the conceptual side type 
 NopSolutions.NopCommerce.BusinessLogic.Data.Language' does not match with the type 
 System.Boolean' of the member 'IsActive' on the object side type   NopSolutions.NopCommerce.BusinessLogic.Directory.Language'.

as far i understand that there is some missing to relating the data type of edm and object

but i made a column in database table which is bit type and in langauge.cs i declare the property of

   public bool IsActive { get; set; }

any details needed i can post here

EDIT :

as i google around i found this question on stackoverflow

et-model-property-to-boolean-in-entity-framework which is changing the Byte to Boolean for mapping tinyint

but in my case i have in database is also the bit.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:32:15+00:00Added an answer on May 25, 2026 at 11:32 pm

    Assuming that you have an .edmx-file you can modify. Open it in an XML-editor and search for the <edmx:ConceptualModels>-element. This should contain the definition of your entities, look for the <EntityType Name="Language">-element, which should declare something like this:

    <Property Name="IsActive" Type="Byte" Nullable="false" />
    

    Change the Type-attribute to Boolean.

    I’m pretty sure that you could also do this in the designer, but if you don’t have direct access to the .edmx let me know and we figure something out.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

[ I am new to ADO.NET and the Entity Framework, so forgive me if
I'm very new to Entity Framework, that's my disclaimer! I have a SQL 2008
I have a .NET 4 WinForms app that uses the ADO.NET Entity Framework. Some
Very new to Jquery and wondering if anyone can help me with the following
I am using an ADO .Net Entity Model for querying a MySQL database. I
I am new to ADO.net. I actually created a sample database and a sample
I am learning ADO.NET But it very hard for me... I dont understand why
We're (slowly) moving an application (with a classic ADO.NET DAL) to NHibernate (following both
Very new to FluentNHibernate, but I'm also excited about the area. I've recently started
Very new to JQuery and MVC and webdevelopment over all. I'm now trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.