¡@

Home 

c# Programming Glossary: dal

Should I always return IEnumerable<T> instead of IList<T>?

http://stackoverflow.com/questions/1072614/should-i-always-return-ienumerablet-instead-of-ilistt

IEnumerable T instead of IList T When I'm writing my DAL or other code that returns a set of items should I always make..

WPF DataGrid - Button in a column, getting the row from which it came on the Click event handler

http://stackoverflow.com/questions/1168976/wpf-datagrid-button-in-a-column-getting-the-row-from-which-it-came-on-the-cli

of my WPF Datagrid to a List of Objects returned from my DAL. I've also added an extra column which contains a button the..

Design - Where should objects be registered when using Windsor

http://stackoverflow.com/questions/1410719/design-where-should-objects-be-registered-when-using-windsor

the BL the test bench could register mock classes for the DAL. Each layer can register the object of its dependencies e.g... test the BL the test bench would have to unload the real DAL object and register the mock objects. The application or test..

Data type mismatch in criteria expression | Access, OleDb, C#

http://stackoverflow.com/questions/1577901/data-type-mismatch-in-criteria-expression-access-oledb-c-sharp

new OleDbParameter @LastLogin logintime using DAL dal new DAL dal.UpdateRow sql false prms When it comes to.. new OleDbParameter @LastLogin logintime using DAL dal new DAL dal.UpdateRow sql false prms When it comes to Dates I having..

Best Data Access Layer for .NET [duplicate]

http://stackoverflow.com/questions/200279/best-data-access-layer-for-net

on your requirements. There is no best Data Access Layer DAL per sé. For small medium size projects I would recommend LINQ..

Serializing and Deserializing Expression Trees in C#

http://stackoverflow.com/questions/217961/serializing-and-deserializing-expression-trees-in-c-sharp

I made bug fixes to their code and also made it more DAL independent. http expressiontree.codeplex.com share improve..

What is the “cost” of .NET reflection? [duplicate]

http://stackoverflow.com/questions/224232/what-is-the-cost-of-net-reflection

types to have cached reflection such as our own pre LINQ DAL object code on all the properties to table definitions Would..

Should you use a partial class across projects

http://stackoverflow.com/questions/309939/should-you-use-a-partial-class-across-projects

So I have a class library with all my database logic. My DAL BLL. I have a few web projects which will use the same database.. and SomeItem Objects Data Access Layer project namespace DAL public class Product implementation here public class SomeItem.. so I have a class called This is in Web Project namespace DAL public partial class Product ICustomBehaviour #region ICustomBehaviour..

Circular Reference exception with JSON Serialisation with MVC3 and EF4 CTP5w

http://stackoverflow.com/questions/4606232/circular-reference-exception-with-json-serialisation-with-mvc3-and-ef4-ctp5w

when i try and serialise an object returned from the DAL i get the circular reference exception A circular reference..

Which types should my Entity Framework repository and service layer methods return: List, IEnumerable, IQueryable?

http://stackoverflow.com/questions/6416506/which-types-should-my-entity-framework-repository-and-service-layer-methods-retu

or allow provider to create repositories . This leads to DAL layer factory and custom unit of work. share improve this answer..

To return IQueryable<T> or not return IQueryable<T>

http://stackoverflow.com/questions/718624/to-return-iqueryablet-or-not-return-iqueryablet

provider for them it means you can't optimize profile the DAL For stability I've taken to not exposing IQueryable T or Expression..

How slow is Reflection

http://stackoverflow.com/questions/771524/how-slow-is-reflection

fast enough. For example if you are using this to create a DAL wrapper object the time taken to create the object via reflection.. be very fast. In the specific example I mention about a DAL wrapper if you are doing this lots consider something like dapper..

BackgroundWorker OnWorkCompleted throws cross-thread exception

http://stackoverflow.com/questions/818767/backgroundworker-onworkcompleted-throws-cross-thread-exception

paging that uses a controller to perform the actual DAL calls. I use a BackgroundWorker to perform the heavy lifting..

Big smart ViewModels, dumb Views, and any model, the best MVVM approach?

http://stackoverflow.com/questions/857820/big-smart-viewmodels-dumb-views-and-any-model-the-best-mvvm-approach

to a BL that built the Business Object BO from a DAL which is connecting to a DB. In this scenario you would be constantly..