technomark.in
Hot News

$(this) Selector And Children / Find In jQuery

Detect An Undefined Object Property In JavaScript

Rotate And Save Video Using VLC Media Player

Capitalize The First Letter Of String In JavaScript

Convert Any Files To Any Format Using VLC Media Player

Asp.Net AngularJS WCF IIS
DataBase Jquery Bikes Random
HomeContact Us Watch Our YouTube Channel ..........Blog Spot..........

Technomark.in

How To Logout From All Devices In Skype

Technomark.in

How To Embed Google Map In Your Code

Technomark.in

How To Install IIS (Internet Information Services) On Windows

Technomark.in

Enable Directory Browsing In IIS

View All


Call Stored Procedure Using Entity Framework In Visual Studio


How To Call Stored Procedure Using Entity Framework

> First of all add Entity Framework to your solution as shown in the link.
> How To Add Entity Framework In Visual Studio
> For Calling Stored Procedure using Entity Framework follow the below code.

Call Stored Procedure Using Entity Framework In Visual Studio, Stored Procedure Using Entity Framework, Invoke Stored Procedure Using Entity Framework, using Entity Framework Stored Procedure, Entity Framework, Asp.Net, WCF, MVC, Asp.Net MVC

> Here TechnomarkEntities is the instance of Entity Model.
> Using enclosure do the automatic Connection Open and Close.
> Its always better to accept the result of an Stored Procedure in var result
> Now Entity Instance.Name of SP will give the result as shown below
> var result = obj.GetdatFromSp();
> If the SP have parameters, then specify them after the opening bracket.
> var result = obj.GetdatFromSp("Name");
> By this way we can call Stored Procedure using Entity Framework.

Watch Video of this Content on Video Streaming

Post Your Comment

Name *


Email *


Comment * Please provide all three fields for posting Comment




Technomark.in

Book Train Tickets on IRCTC Quickly During Tatkal Period

Technomark.in

Before You Copy Any Image From Internet

View All

Privacy StatementDisclaimerSitemap