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
702 views
1 answer
    I have a site running n Azure, which uses EF Database First model. If I embed the connection string in the web. ... to do it via the portal. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
684 views
1 answer
    I am using EF6 with Asp.net core and I am getting error when I call to db through ... .InvokeActionMethodAsync()} System.NotSupportedException See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
883 views
1 answer
    I need to compare just the date only in a Linq query that involves a datetime field. However, the syntax ... SymNumber == symNumber select a; See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
613 views
1 answer
    how to retrieve the latestdate inspected from a column In our app a user can inspect an item and when it ... and col name is LastdateInspected See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    Say I have this where I want to get every person in group 42, but I want to get an IQueryable of each ... subject of a query to the repository. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I am really new to EF (using EF core 2.1) and have been following a bunch of tutorials so far, but now I ... there is a good reason to do so See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
951 views
1 answer
    i have somehow gotten my EF5 project into a state where I can't proceed. When I do an 'update-database' ... ? (beyond switching to NHibernate?) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
768 views
1 answer
    How do I do a eager query of a parent child relationship that: filters a on child fields sorts on both ... [1].children = IEnumerable<Child> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
584 views
1 answer
    I have a many-to-many relationship between two entities - Media and MediaCollection. I want to check if a certain Media ... index, item); } } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
598 views
1 answer
    Is it possible to do any type of programmatic data transformation in Entity Framework 5 Code First migrations? ... the old table Ingredient. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
557 views
1 answer
    This is my model: - Business - BusinesType - FK - Categories (*) - FK - Branch (*) - BranchType - ... collection property it's meant to expose. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
647 views
1 answer
    Our project uses Entity Framework Code First. We wish to have an instance where a very simple POCO represents ... table via the ModelBuilder. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
649 views
1 answer
    In ASP.Net 4.5 I could put my connection string in the web.config as to take advantage of web.config ... EF look there for the strings? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have seen some code sample that put an entity framework connection string as a constructor argument when creating a ... .5 entity framework 5. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
878 views
1 answer
    I created a new class library (package) project (prior to VS 2015 RC used the even worse name of asp. ... even though EF6 has been referenced? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
741 views
1 answer
    I receive this error on base {System.SystemException} = {"LINQ to Entities does not recognize the method 'System. ... idea how to solve it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
727 views
1 answer
    I wrote my own context by reading this article and many others, but none of theme explains where is this context.Entry( ... { get; set; } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
650 views
1 answer
    I have read almost all articles about Repository pattern and different implementations of it. Many of them judged ... added the first question. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
725 views
1 answer
    In magento how to get the category id of each product from its product ID. $items = $request->getAllItems(); $c ... ID. I want its category ID. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
631 views
1 answer
    I have a method that receives an IEnumerable<Guid> of IDs to objects I want to delete. One suggested method is ... order to delete the objects. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
625 views
1 answer
    How can we use Data Annotations for models if the models are generated with 4.1 ADO.NET DbContext Generator or something else? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
779 views
1 answer
    I have this entity: public class DynamicPage { public int PageId { get; set; } public int Order { get; set; } ... 3) if any? Thanks to help. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
794 views
1 answer
    I have run into this problem: Custom Methods & Extension Methods cannot be translated into a store expression ... with LINQ to Entities? 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 sum up three different fields of a table in one query. I want a linq equivalent of this T- ... Any suggestions? Thanks for your time. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
560 views
1 answer
    EDIT: This happen only on larger scale projects with repositories. Is there anybody using EF4 with CodeFirst approach ... SaveChanges(); } } 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 class hierarchy that I want to map across several tables using Entity Framework 4.1 Code First. It's ... with a table-per-type mapping? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
816 views
1 answer
    Entity Framework 4.1 Code First works great with SQLEXPRESS on localhost. However, I'm now ready to connect ... outside a particular database) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
709 views
1 answer
    DataContractSerializer requires classes and members to be marked with the DataContract and DataMember attributes. However, in ... /13/50934.aspx 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

2.1m questions

2.1m answers

60 comments

57.0k users

...