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
816 views
1 answer
    I had a windows service relying on EF, and it was running fine until the server went down. The problem was ... ? Anyone had this happen before? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
866 views
1 answer
    I have the following simple entity: public class Something{ [DatabaseGenerated(DatabaseGeneratedOption.Computed)] public int ... . Any help? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I want to add tables to a SQLCe database at runtime, since the tablenames are not static and known at ... some other technique? Thanks, Juergen See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
624 views
1 answer
    I'm debating with myself whats the point in creating ViewModel classes in a project which uses Entity Framework? ... I missing something here? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    The include does not work after I perform a select on the IQueryable query. Is there a way around this? ... I just keep getting Null exceptions See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
895 views
1 answer
    I do not have 'full' the version of MS SQL (SQL Express 2008) so I do not have the profiler tool. I ... from this manner of coding? Any ideas? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
735 views
1 answer
    I just enabled migrations in my project and added a few fields to UserProfile: [Table("UserProfile")] public class ... . How did this happen? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
673 views
1 answer
    I am using the repository pattern within EF using an Update function I found online public class Repository<T> ... yet it seems destructive. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
846 views
1 answer
    I have a query in EF Core 1.1.2 that is evaluated on client side and would like to know if there is a better ... bool Flagged { get; set; } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
979 views
1 answer
    Problem Need to convert int to string using EF4 + SQL CE4. The recommended option of using SqlFunctions.StringConvert( ... I stay with L2S. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
988 views
1 answer
    I have a table that has a unique index on a table with an Ordinal column. So for example the table will have ... properly, please let me know... See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
920 views
1 answer
    I have this two entities: public partial class Ficheros { public Guid Idfichero { get; set; } public long ... ID is a uniqueidentifier. Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
981 views
1 answer
    Essentially I have a table with zip codes in it. The zipcode field is defined as 'char(5)'. I'm ... Any assistance/advice would be appreciated. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
868 views
1 answer
    I wonder if there is any chance to change name of foreign key constraint generated by Entity Framework when using ... looks much cleaner to me. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
807 views
1 answer
    I am using Entity Framework and I need to check if a product with name = "xyz" exists ... I think I ... the best performance? Thank You, Miguel See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
813 views
1 answer
    I am not sure if this is possible, but I have started a new project and I am trying to clean up the way I ... Is this the best way to do it? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
780 views
1 answer
    I'm using breeze with Code First EF. My production DbContext has IDatabaseInitializer that throws an ... ContextProvider's EntityConnection? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
963 views
1 answer
    I was previously using a DataContext which had a GetTable(type) method to get tables generically. Example: context. ... It has to be generic. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
799 views
1 answer
    I'm using the SQLite provider for Entity Framework 5 but it doesn't support CreateDatabase and thus cannot auto ... the table properly? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
771 views
1 answer
    My question is related to this SO post, but instead of preventing I want to understand what's the convention of creating ... Version="3.1.2" /> See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
706 views
1 answer
    Ok, in order to try to find an answer for this question I have made an even simpler project, using the AdventureWorks ... using EF 4.1 - help! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
876 views
1 answer
    I have this query var test = context.Assignments .Include(a => a.Customer) .Include(a => a.Subscriptions) . ... .First().Actions.First().Name; See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
854 views
1 answer
    I have been trying to Integrate Identity Server 4 with SPA application. I am able to Authorize the Application ... : "Unprotect ticket failed" See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
889 views
1 answer
    EDIT: the issue below has been fixed in the Entity Framework 6. Running the code below takes a disappointing ... client side generated IDs? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
790 views
1 answer
    I have been using a connection string like this to connect my website to my database: <add name="MyDb" ... I stop it doing that? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
664 views
1 answer
    Today I did a larger data import into a firebird 2.5.6 database and I got this exception: System.Data.Entity. ... google only shows 1 old entry. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
917 views
1 answer
    I am developing a WPF desktop app that uses Entity Framework 4 and SQL Compact 4. I have seen two distinct ... other? Thanks for your help. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
813 views
1 answer
    I am using EF5 and .NET 4.5. I have one particular class that is being generated incorrectly in the database ... the roles in the database. 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

...