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 7061083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:25:51+00:00 2026-05-28T04:25:51+00:00

i am very much new to Entity Framework and i just used this in

  • 0

i am very much new to Entity Framework and i just used this in nop commerce 1.9 so i dont know how to implement Entity Framework from scratch for a new project. i created the database with all table and make complete relationship in all table. and also created the project for my class an example of a class is

 class BE_Room
    {
        #region properties
        public int RoomId { get; set; } 
        public string RoomType { get; set; }
        public string Description { get; set; } 
        public int NumberOfRooms { get; set; } 
        public bool IsSmoking { get; set; } 
        public int Status { get; set; } 
        public DateTime CreatedDate { get; set; } 
        public DateTime UpdatedDate { get; set; } 
        public int CreatedBy { get; set; } 
        public int UpdatedBy { get; set; }
        public int Rank { get; set; }
        #endregion
    }

and the table schema for this class in db is as following

RoomId  int
RoomType    nvarchar
Description nvarchar
NumberOfRooms   int
IsSmoking   bit
Status  tinyint
CreatedDate smalldatetime
UpdatedDate smalldatetime
CreatedBy   int
UpdatedBy   int
Rank    int

now when i add the edmx file it will genrate all the classes for all entities and make a single file for all classes.

but as i am following nop commerce 1.9 there is a single .edmx file for all entities but they have separeted classes for products, discounts.

how it can be achived ?

as i am new to entity framework so my question might be not clear , so please comment if you want to know anything else or i am missing in my question.

EDITED

as i am searching continuously on Google i found that what i want to achieve can be done with POCO entity generator

so my question is now what steps should i follow for POCO Entity Genrator to create a single .edmx file but separate entities classes.

  • 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-28T04:25:51+00:00Added an answer on May 28, 2026 at 4:25 am

    Go through this walkthrough.

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

Sidebar

Related Questions

I am new to javascript so sorry I don't know very much. I have
Ok, I am not having much luck with this. I am new to Entity
I'm very much new to programming and have been doing fairly well so far.
I am very much new to IOS. I am using the storyboard feature to
I am very much new to BPM (Business Process Management), I was asked to
I am very new to sql.The actual problem is much bigger. I need information
Very much related to my previous question , but I found this to be
Important : Please see this very much related question: Return multiple values in C++
Would very much appreciate any help or hint on were to go next. I'm
I like Nant very much. I do a lot of scripting with NAnt. It

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.