Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged Entity

0 votes
811 views
1 answer
    I was able to store an enum as a string in the database. builder.Entity<Company>(eb => { eb.Property(b ... value 'Opportunity' to data type int See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
730 views
1 answer
    Using Entity Framework (code first in my case), I have an operation that requires me to call SaveChanges to ... this (ideally without MSDTC)?! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
520 views
1 answer
    I'm trying to implement class inheritance in .NET using Entity Framework 4.1 and MySQL as database, with code- ... review. Should be fixed soon. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
610 views
1 answer
    model-defined functions are discussed here: https://msdn.microsoft.com/en-us/library/vstudio/dd456857(v=vs.110). ... ' attribute is not allowed. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
566 views
1 answer
    I have a parent and child object. If I do the following Child c = new Child(); c.ParentID = parentID; context. ... , I can see Parent just fine. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
478 views
1 answer
    I have an issue using EF7 in a web application with which I could use some help. I'm currently using EF7 ... lot of extra data being serialized) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
505 views
1 answer
    I saw this comment on MSDN (link and link): "Note that Independent Associations should often be avoided since things ... to me what this means? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
575 views
1 answer
    I have four entities that I would like to translate into database tables via code first fluent api (I'm using ... bad design?) Recipe(RecipeId) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
634 views
1 answer
    I have a site managing a collection of rules and a separate Windows form application making file level changes based on ... query to hit the DB? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
622 views
1 answer
    I've never seen this happen before, very odd. I have a local SQL Server 2012 Express database that I'm ... has anyone else seen this happening? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
733 views
1 answer
    I'm using Entity Framework 4.1 Code First and I have a table that has an IDENTITY key, because all new entries ... know what's going on here? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
646 views
1 answer
    I have a table that contains a bunch of duplicates. These are exact duplicates, minus the primary key column, ... to start with LINQ. Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
709 views
1 answer
    If I want to retrieve records from 20 to 39, or from 40 to 59 from an MSSQL Table. Since I'm using ... on a GetList() Stored Procedure itself? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
723 views
1 answer
    I have ASP.NET Core 1.1 project, which I'm trying to convert to v2.1. I've found IDesignTimeDbContextFactory ... or what am I doing wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
590 views
1 answer
    I've faced some troubles with context in EF in ASP.MVC2. I thought that best way to improve some ... manage contexts? Any interesting pattern? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
538 views
1 answer
    I need to do some trimming before saving various fields in our database. We're deserializing xml from another application ... , null); } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
559 views
1 answer
    I'm working with an application and data structure built upon ASP/ADO.NET and I'm converting part of it to ... Any advice would be appreciated. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
621 views
1 answer
    I am following this article on MSDN. I ported it to EF Code First. public interface IUnitOfWork { ... the repositories for testability? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
572 views
1 answer
    I have a Customer entity which references a collection of Addresses. The complication here is that I want to be able ... } } Many thanks, Paul. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
585 views
1 answer
    Lets suppose that I have a db table with name Employee and a respective EF 6.0 db-first model. Getting all ... for EF 6.0 Interceptor usage? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
628 views
1 answer
    2019 Update / TLDR; switch to Entity Framework Core (or whatever else) While missing some "Features", EF Core ... SQL works just fine" .. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
846 views
1 answer
    In linq is there a difference between: EFDbContext _db = new EFDbContext(); 1)_db.UserQuizes .Where(uq => uq.UserId ... or use it like as it is See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
680 views
1 answer
    I am using EF4 within a MVC3 application and I was looking for a way to view all my contacts within a given ... Do I have enable it somehow? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
591 views
1 answer
    I'm trying to get Entity Framework to select an object and filter its collection at the same time. I have a ... 13")) select c; Thanks Dan See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
750 views
1 answer
    I am just messing with Azure, and I can't seem to get my Db to work. I am following what it says here: https: ... so that isn't it - any ideas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
542 views
1 answer
    I'm using MVC3 VS2010 with EF4.1, I have created my DB using SQL Server and I import it to the MVC3 ... of using the models' files directly? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
808 views
1 answer
    I want to use EF Code first for a database that I'm currently accessing using plain old ADO.NET with stored ... EF Code first? Any ideas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
637 views
1 answer
    I have a plain old CLR object which is essentially a wrapper for two entity framework objects, I'm doing this ... to achieve this same result? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...