Click here to Skip to main content
15,920,031 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: VSflexgrid control in asp.net mvc Pin
jkirkerx16-Sep-15 11:05
professionaljkirkerx16-Sep-15 11:05 
GeneralRe: VSflexgrid control in asp.net mvc Pin
Shaikh Ansar16-Sep-15 20:01
Shaikh Ansar16-Sep-15 20:01 
GeneralRe: VSflexgrid control in asp.net mvc Pin
jkirkerx17-Sep-15 6:23
professionaljkirkerx17-Sep-15 6:23 
GeneralRe: VSflexgrid control in asp.net mvc Pin
Shaikh Ansar17-Sep-15 18:03
Shaikh Ansar17-Sep-15 18:03 
QuestionAsp.net session Pin
Member 1198569615-Sep-15 2:37
Member 1198569615-Sep-15 2:37 
AnswerRe: Asp.net session Pin
jkirkerx16-Sep-15 11:02
professionaljkirkerx16-Sep-15 11:02 
QuestionASP.NET Pin
scud1014-Sep-15 23:35
scud1014-Sep-15 23:35 
AnswerRe: ASP.NET Pin
Richard MacCutchan14-Sep-15 23:53
mveRichard MacCutchan14-Sep-15 23:53 
AnswerRe: ASP.NET Pin
PANKAJMAURYA12-Oct-15 23:17
professionalPANKAJMAURYA12-Oct-15 23:17 
Questionmvc viewbag Pin
Analice14-Sep-15 21:46
Analice14-Sep-15 21:46 
AnswerRe: mvc viewbag Pin
User 418025421-Dec-15 6:36
User 418025421-Dec-15 6:36 
Questionhow to use querystring in html tags Pin
Member 1187854114-Sep-15 0:40
Member 1187854114-Sep-15 0:40 
AnswerRe: how to use querystring in html tags Pin
jkirkerx16-Sep-15 11:13
professionaljkirkerx16-Sep-15 11:13 
Questionasp.net login error using form base authentication Pin
viconex4real13-Sep-15 4:23
viconex4real13-Sep-15 4:23 
AnswerRe: asp.net login error using form base authentication Pin
F-ES Sitecore13-Sep-15 22:27
professionalF-ES Sitecore13-Sep-15 22:27 
AnswerRe: asp.net login error using form base authentication Pin
Blikkies14-Sep-15 0:37
professionalBlikkies14-Sep-15 0:37 
AnswerRe: asp.net login error using form base authentication Pin
Shaikh Ansar16-Sep-15 0:08
Shaikh Ansar16-Sep-15 0:08 
Questionasp.net enableeventvalidation problem Pin
ertum200012-Sep-15 2:25
ertum200012-Sep-15 2:25 
Questiongridview databind Pin
kabifarm11-Sep-15 5:00
kabifarm11-Sep-15 5:00 
AnswerRe: gridview databind Pin
F-ES Sitecore13-Sep-15 3:08
professionalF-ES Sitecore13-Sep-15 3:08 
QuestionIs Multi Tier System Getting automated by using Db Context and Entity Framework ? Pin
SREENATH GANGA9-Sep-15 22:25
SREENATH GANGA9-Sep-15 22:25 
AnswerRe: Is Multi Tier System Getting automated by using Db Context and Entity Framework ? Pin
F-ES Sitecore9-Sep-15 23:34
professionalF-ES Sitecore9-Sep-15 23:34 
You can consider EF to be your "data tier" so there is no real need to create your own. You'll see lots of projects that look like this

C#
namespace MyDA
{
    public Person GetPerson(int id)
    {
        return ctx.Persons.Find(id);
    }

    public Person AddPerson(Person person)
    {
        return ctx.Persons.Add(person);
    }
}


if your entire data tier is a list of single-line functions that simply "pass through" to EF then your tier is fairly redundant. The exception to this would be if you didn't want to tie your business tier to EF, and in that case you would probably give access to EF via a repository pattern rather than direct.
GeneralRe: Is Multi Tier System Getting automated by using Db Context and Entity Framework ? Pin
SREENATH GANGA13-Sep-15 1:45
SREENATH GANGA13-Sep-15 1:45 
GeneralRe: Is Multi Tier System Getting automated by using Db Context and Entity Framework ? Pin
F-ES Sitecore13-Sep-15 2:59
professionalF-ES Sitecore13-Sep-15 2:59 
AnswerRe: Is Multi Tier System Getting automated by using Db Context and Entity Framework ? Pin
Shaikh Ansar15-Sep-15 19:07
Shaikh Ansar15-Sep-15 19:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.