August 2008 - Posts

3
Comments

Using ToList() method to force LINQ query execute immediately by mlife

when using LINQ TO SQL, results of query dose not retrieve until you consume results or on the other hand you iterate in results. in example, assume you have a table in database that keeps users specifications such as Firstname, Lastname and so on. and...
5
Comments

How to remove all items from cache memory by mlife

Some times you may want to remove all items from cached memory and fill it by new data. Session State has a method for emptying Session memory for specified user (Session.Abandon() ). but in Cache object there is no the same method. with simple technique...
More Posts