Home Blog Page 3

Many-To-Many Relation in Entity Framework Core (1.0.1)

0
In Entity Framework Core 1.0.1 Many-To-Many without creating relational entity is not supported and the easiest way to implement is creating the relational entity. I will show that in a small example: public class Course { ...

Converting string to Nullable int

0
There are some scenarios when you extract a number from a text (it can be a text file or web page or etc...) and you need to convert it to a specific nullable type. In this...

LINQ Aggregate Function

0
Aggregate is one of the extension methods which lives in System.Linq namespace, and applies to any object that implemented IEnumerable interface. Aggregate is one of seven aggregation family functions which are: Min Max Count LongCount Sum Average ...

Null Coalescing Operator or ?? in c#

0
Null Coalescing Operator is the ?? operator This operator has been added to C# since version 2.0,  and it's one of the C# syntactic sugars that sometimes is more useful than you expect. Basically, this...

Be in Touch

626FansLike
645FollowersFollow
533FollowersFollow