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
670 views
1 answer
    After installing the latest Visual Studio 2015 Update 2, the EF power tools reverse code engineer option fails ... installer version. Help! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
508 views
1 answer
    Is there a way to take a class name and convert it to a string in C#? As part of the Entity Framework, ... () without an instance. Any ideas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
457 views
1 answer
    I'm trying to build a where clause dynamically in a LINQ query which references tables via EF, but I'm getting the ... == "Denied" }).ToList(); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
557 views
1 answer
    Please how do we construct a dynamic where filter in EF.Core to handle: Query.Where(fieldName, compareMode, value) I ... )total / limit); } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
586 views
1 answer
    Is there a way to take a class name and convert it to a string in C#? As part of the Entity Framework, ... () without an instance. Any ideas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
560 views
1 answer
    I'm trying to build a where clause dynamically in a LINQ query which references tables via EF, but I'm getting the ... == "Denied" }).ToList(); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
728 views
1 answer
    Please how do we construct a dynamic where filter in EF.Core to handle: Query.Where(fieldName, compareMode, value) I ... )total / limit); } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
605 views
1 answer
    I would like to add some logic to the insert and update events of some EF objects. I have a MVC application ... such thing using EF code first? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
594 views
1 answer
    Given an EntityType, such as "Contact", how can I derive from it the name of the EntitySet it would ... pluralization such as "Contacts"? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    In my mvc asp.net application, I am getting an error in edit function : in given code public ActionResult Edit(int ... error? How do I fix it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
624 views
1 answer
    While going through SQL profiler, I noticed the following query generated by EF4. exec sp_executesql N'declare ... ,@0=1,@1=0x00000000000007D3 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
756 views
1 answer
    I'd like to merge the following Expressions: // example class class Order { List<OrderLine> Lines } class OrderLine { ... 0; How can I do this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
594 views
1 answer
    I'm using System.Data.Objects.EntityFunctions.TruncateTime method to get date part of a datetime in my query: if ( ... I unit test my query? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
669 views
1 answer
    I'm attempting to write unit/integration tests for my ASP.NET Web API project and struggling to run each test ... my database before each test. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
569 views
1 answer
    I am using Entity Framework 6.1.1. I am deleting single record from table as following but i am not ... stuDetails); _context.SaveChanges(); } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
871 views
1 answer
    How can I convert DateTime into a formatted string? This is the line in the following query that needs ... translated into a store expression. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
491 views
1 answer
    I'm trying to implement a repository solution for Entity Framework but I am having trouble registering the types ... typeof(UnityRepository<>)); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
659 views
1 answer
    Long long struggles with this... Basically I have a model-first EF5 object with a DbGeography property. I ... the property but a SqlDouble? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
443 views
1 answer
    So, I'd like to know how many results I'll be getting back from a RESTful uri GET request. I don't know of ... that isn't what I'm looking for. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I am building web APIs in ASP.NET Core 1.1. I have a number different databases (for different systems ... clean or transparent as inheritance. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
521 views
1 answer
    I am in the process of converting our internal web application from Linq-To-Sql to EF CodeFirst from an existing ... in EF than in L2S? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
565 views
1 answer
    I am developing a domain model using EF Code First to persist the data. I have to add support for multilanguage ... knows how to get this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
565 views
1 answer
    I am using the repository pattern to provide access to and saving of my aggregates. The problem is the updating ... could I do this generically? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
635 views
1 answer
    I have the following method automatically generated from the scaffold template with repository:- public Group Find(int id ... of using .Where()? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
669 views
1 answer
    I have a class AgentBalance with an association to Agent, thus: public class AgentBalance { ... public int AgentId ... the fluent API mapping). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
863 views
1 answer
    Apparently IMigrationMetadata.Target encodes the state of the EF model. Can I use this to reconstruct the model for a particular migration? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I use Entity Framework Code First, My connection string is in a configuration file: <connectionStrings> <clear/> <add ... ." What am I missing? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
584 views
1 answer
    Can EntityFramework support an EAV model? Is this a workable scenario, or a nightmare? I want to use an ... two philosophies are in conflict. 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

...