Posts by Ronaldo Asevedo • 430 points
12 posts
-
1
votes1
answer75
viewsQ: Is it possible to make a Swipe to open the application?
I wonder if it is possible to create an event in an application that performs this function, and if there is a plugin.…
-
0
votes1
answer790
viewsQ: SUM within SUM Entity Framework performance
I made a query with Entity framework and I’m having problems with performance. public static Decimal ValorPrevisto(this ClinicaModel clinica) { return clinica.Contratos.Sum(c =>…
-
1
votes0
answers218
viewsQ: Access Database File, SYBASE
I need to remove the data from a database file (.db) that I was told is SYBASE, the client needs to migrate data and I need to access, does anyone have any idea where to start? because never heard…
-
5
votes1
answer841
viewsQ: Add Migration and update at runtime Entityframework
I am developing an application and the need arose to add Migration and run the update at runtime. I already have the whole part that loads the modules: public class ClientContext : DbContext {…
-
0
votes1
answer96
viewsQ: The Member with Identity 'Faseprojeto_fase_target' does not exist in the Metadata Collection
I’m making a very strange mistake... I don’t have a clue. This is my class: public class FaseProjeto { public int IdProjeto { get; set; } public int IdFase { get; set; } public virtual Projeto…
-
3
votes1
answer282
viewsQ: Relationship between different contextual classes Entity Framework
I have a problem saving an object, due to it having relationship in a different context, I wonder if there is a way to solve this problem.
-
2
votes1
answer3348
viewsQ: PDF reading . NET
I have been researching for a long time a way to read a pdf document that contains Sinapi Inputs tables and save the data in my database, and I do not do the least how to, someone could give a hint?…
-
0
votes2
answers570
viewsA: Ioc with Ninject
The problem is I was wrong in the way Ioc and Ninject work, The Ioc where it loads the assemblies needs to run only once in the application lifecycle, while the Ninject it needs to run every time…
-
1
votes2
answers570
viewsQ: Ioc with Ninject
I am developing an application using Ioc and Ninject for dependency injection, and came across the following problem: When uploading my application to the server I got the following error: Someone…
-
2
votes1
answer1511
viewsQ: Composite primary key with entities in the Entity Framework
I need to make a composite primary key relation in the Entity framework using the entities themselves. public class ProjetoDocumento { public Projeto Projeto { get; set; } public Documento Documento…
-
15
votes4
answers957
viewsQ: Multiple Contexts Migrations Entity Framework
I have several projects and each project has a context. I would like to know, how to use the Migrations to update and generate only one database of these various contexts?
-
2
votes1
answer475
viewsQ: ASP.NET Identity customize on its own basis
I already have my base ready with the login table, and I didn’t want to change it, so I wonder if it has how to customize it with the tables I already have! and how to do this! Below the mapping of…