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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:02:27+00:00 2026-06-02T08:02:27+00:00

I have a strange situation. I have created a data model visually and generated

  • 0

I have a strange situation. I have created a data model visually and generated a database from it. This project is referenced by two projects:

  • ASP .NET application.
  • WinForms application.

The ASP .NET application deals directly with the database while I need the WinForms application to interact with the database via the Web application.

I have created a page called API.aspx and use HTTP POST to send values and get results in XML.

However, since the WinForms application still needs to use the data model classes, I am running into issues using them without creating a database object.

What is a good strategy to use in this scenario?

  • 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-06-02T08:02:30+00:00Added an answer on June 2, 2026 at 8:02 am

    If you have implemented your code with loose coupling (See the Repository Pattern), then you could create a database stub that will return dummy data (or in memory data) until you are ready to plug in the actual EF framework.

    This is generally good practice to create a clean separation of concerns.

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

Sidebar

Related Questions

Some specific situation: I have two Activities . FirstActivity loads data from network(~100 kb)
I have a strange situation in one view controller where this line crashes in
I have faced a very strange situation here. I am accessing database (MDB) through
There is this strange situation I'm fighting on. I have 3 pages, les call
I have run into a strange situation where I need to float two elements.
I am stuck in a very strange situation. I have a database in SQLite
I have a strange situation: in a .NET CF project there is a class
I have a strange situation. I have a website where hyperlinks are dynamically generated
Strange situation. If I have these tables: CREATE TABLE t1 (id INT, title VARCHAR(20),
I have a strange situation in regards to xml serialization... If I run MyApp.exe

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.