Sberry wants 'Delineate' to be not equal to DELINEATE which is again not equal to dElINeate and sort them based on their case and culture. How to do...? Here comes the StringComparision enum which we can pass to the comparison, equal... Continue Reading →
With Sberry, let's dive in to clear out the confusion around the Add, Attach and Entry, Create and New methods of DbSet and DbContext of Entity framework. Add public virtual object Add( object entity) Simply put Adds the entity to... Continue Reading →
The default Entity framework conventions can be overridden through two methods 1.Data Annotations 2.Fluent API. Entities and properties are configured through EntityTypeConfiguration. The ModelBuilder class provides Enity (),which return EntityTypeConfiguration object which is used in configuration. We can separate out... Continue Reading →
Delegates seems very daunting topic to newbies. So here I will explain you the formal definition along with example that represents what exactly the definition mean. Formal Definition Delegates enable to encapsulate reference of a method inside a delegate object,... Continue Reading →
Quick snap points helps to recap the concepts very quickly when attending interview or going to write exam.