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
719 views
1 answer
    Why there is no IDbContext interface in the Entity Framework? Wouldn't it be easier to test things if there was an ... > SomeEntities { get; } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
625 views
1 answer
    Following on from this: Yii2 how does search() in SearchModel work? I would like to be able to filter a ... help would be appreciated. Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
617 views
1 answer
    I have this class and table: public class Foo { public Guid Id {get;set;} public string Name {get;set; ... exception anybody knows a fix ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
509 views
1 answer
    How do I tell EF what to name the database and where to put it? If there is no connection string in the ... it what I want. Any suggestions? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
454 views
1 answer
    I have an error when trying to update my database after adding a migration. Here are my classes before add- ... my migrations back to normal? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
525 views
1 answer
    I have created a migration using the Add-Migration command, but I'd like to change the name of that migration. How ... this could be a bad idea? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
498 views
1 answer
    I've built a entity framework model against a 2008 database. All works ok against the 2008 database. When I try ... "datetime" in the database. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
449 views
1 answer
    (Note: My question has very similar concerns as the person who asked this question three months ago, but it was ... the right sources... : See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
537 views
1 answer
    I am using Entity Framework, and I am inserting records into our database which include a blob field. The ... or anything like that. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
833 views
1 answer
    I'd like to use a view to add information to a table like this public class PocoTable { public int Id { get; ... can I do this some other way? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
578 views
1 answer
    Is there a way when i add a new entity to my Code First configuration the table gets automatically added so i ... my DB with new tables? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
455 views
1 answer
    Here's a sample scenario that illustrates the problem I am having. Here is the DB script to generate the ... kept synchronized by the framework. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
726 views
1 answer
    This question was asked here 4 years ago: EF Mapping to prefix all column names within a table I'm hoping ... out column names for every column See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
640 views
1 answer
    I have a Linq (Entity Framework) Query as function getData(string col_to_sort , bool IsAscending , int pageNo , ... ? Any help is appreciated See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
625 views
1 answer
    I have the current scenario: I'm using EF6 Code first, and have created a data-model something like ... smoother would be greatly appreciated. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
830 views
1 answer
    There is post here that asks how to solve the circular reference error when returning a serialized object via EF4 ... I am stumped. Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
908 views
1 answer
    While using EF (up to version 6.1.3 at least) assuming you have a class like this: class Customer { public string ... is it sure it won't work? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
576 views
1 answer
    I am trying to use EF 4 Code First pattern. My initialization code is as follows: Create Model Builder: private ... but I still get the error. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
593 views
1 answer
    In EF 4.3 documentation says: By default, building a database using Code First does not include private, ... , espically using fluent API? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
815 views
1 answer
    I have a stored procedure like below which takes 1 input parameter ( Name ) and returns 2 output parameters( ... properties I must give here } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
647 views
1 answer
    I have a .NET4.0 application with Entity Framework 5.0 e Sql Server CE 4.0. I have two entities with a ... must be a better solution than that. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
633 views
1 answer
    Is it possible to add CHECK constraint with fluent API in Entity Framework 7? I need to acheive something like this: ... only (at least now). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
588 views
1 answer
    I'm trying to use DDD with EFCore and I am struggling to find a way to map 2 POCOs from different ... already mapped to 'UserContext.User'. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
733 views
1 answer
    I experience an error when trying to create a database using the following code. Note the problem ... CommandBehavior behavior) InnerException: See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
617 views
1 answer
    I have a stored procedure which uses a couple of tables and creates a cross-tab result set. For creating the ... Any help would be appreciated. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
937 views
1 answer
    I am using SQL Server 2008 and Entity Framework 6.1.3. I wish to implement pagination of data based on OFFSET/FETCH ... Server 2008 and EF 6.1.3 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
636 views
1 answer
    I have a MVC ASP.NET application using Entity Framework 6 - Code First approach. Using the Fluent API, how ... DateFor(Desc), DateCreated(Desc). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
707 views
1 answer
    Using Entity Framework Migrations (Beta1), using Update-Database command is all good during development. But when ... ? Documentation is scarce. 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

...