Entity Framework - Bad performance with...
<div>We are facing Performance Issues for our application where the App Dynamics shows that the Max time for the operation is taken by a call of</div> <div> </div>...
View ArticleFetch Data from One Sql 16 and Save to Sql 2000
Hi,I wanna copy the data from a Database, which is sql 2016 version to sql 2000 version. Data from 3 tables to be copied to the targeted db table if the record is not existing already. Can anybody...
View Articleneed links: how to call stored proc funtions views using entityframwork.
hi, I need links, where I can find details and many ways of calling sp, fn, view of the database and I also found it could be made at conceptual layer also.so please provide me links.or if i can get...
View ArticleRegarding EF Code First: Generating Entity Classes from an Existing Database
see the images then you can understand what kind of problem i am talking about.suppose in database i have one table user and i want to generate entity class for user table. so i did this way. my steps...
View ArticleEnable Always Encrypted for existing database
Hi,We have a existing database and need to enable "Always Encrypted" for few columns. All example through google shows that the configuration using configuration manager. Is it possible to create a...
View ArticleSQL Network Interfaces, error 26
Last night I applied patches to my SQL 2012R2 server.Updates .Net Framework to 4.7 and a new version of Symantec Endpoint Protection 14Today I get SQL Network Interfaces, error 26 when trying to open a...
View Articlehow to generate views initially so that we can boost the performace.
hi, I have noticed an article "Pre-Generated Mapping Views", which was not clear. please send me some article forvs 2013 and ef6(onwards).yours sincerely
View ArticleWhat is and why use dbSet in repository constructor?
I see from many examples when making repositories in asp.net core using entityframeworkcore that it is common to write constructors something like this: private readonly ApplicationDbContext _context;...
View Articlehow conanical function map in linq scenarios.
hi, i could not get these lines if u have any example please send me following lines are from this link "https://msdn.microsoft.com/en-us/library/bb738626(v=vs.100).aspx""For LINQ scenarios, queries...
View ArticleHow to make the store procedure call routine generalize
see my code and below approach and guide me How to make the store procedure call routine generalize which will work in any scenario.store procedure may have many input type params. store procedure may...
View ArticleEF maintain transaction and concurrency automatically
1) transaction means when we are adding multiple data to a table then there could be a dodgy data in collection which causes error. so in this kind of scenario EF will rollback orsuppose we are adding...
View Articlemulti tenant, multi database, code first, migrations, on-demand tabel creation
hi.. I'm trying to architecture an MVC5 application which will use Areas to separate each tenant. The purpose is to have a single solution which will host multiple websites, connecting to multiple...
View ArticleDatabase First - Foreign Keys Not Showing up as Navigation Properties
Coding an MVC asp.net web application with an existing database (db first). My existing database has table tbluser with a foreign key idworker refrencing table tblworker primary key id.With the models...
View ArticleLinq
Actually i have filename with this format "1234-GH" ,"1208-GF" like that i want to sortby by numeric order. This query is given me accurate result but i'm unable convert to in Linq Query.Please...
View Articlehow to save data from customer dto class to db using EF
i have customer class and customer dto class. now i am passing customerdto which i like to save to db using dbcontext.can i write dbcontext.customer.add(customerdto)?
View Articleplease recommend ORM
Hi,I need to develop an MVC application and I need it to connect to SQL database. I need to use ORM but shouldn't be entity framework (too inflexible) and shouldn't be ADO.NET (it would have been my...
View ArticleAsp.Net Core migration path error
<div class="postcell post-layout--right"> <div class="post-text" itemprop="text">I am trying to create a DB from EF Core migration. With this connection string:"ConnectionStrings":...
View ArticleHow to increase performance of EF
i found few points but not all clear.Disable the Change Tracking if it’s not required. Use the compiled query whenever required. Avoid using Views Fetch the required data from database. 1) what is the...
View ArticleNumber of rows returned by a DataReader
Hi, Is there any way to know how many rows the data reader returns after executing a SQL statement? For now, I am doing the follwing:if datareader.hasrows then while datareader.read count += 1 end...
View ArticleJust need quick clarification on Remove EF6
HiI have a complex model with 3 tiersI want to Detach the 3rd tier from the second tier (remove the navigation link) but not delete them from the databasethen I want remove the 2nd tier from the...
View Article