Profile cover photo
Profile photo
Peter Stegnar
30 followers
30 followers
About
Posts

Post has attachment

Post has attachment

Post has attachment
Entity Framework Exception - A referential integrity constraint violation occurred
Entity Framework Exception - A referential integrity constraint violation occurred. When you get this type of the exception it just simply means that you need to match Ids of the related entities. Exception: A referential integrity constraint violation occu...
Add a comment...

Post has attachment
Entity Framework exception - adding new Detached Object to the DbContext
Entity Framework exception - adding new Detached Object to the DbContext? How to? When you see this exception: Exception: Attaching an entity of type 'Image' failed because another entity of the same type already has the same primary key value. This can hap...
Add a comment...

Post has attachment

Post has attachment
How to create new MS SQL virtual machine in Azure
How to create MS SQL virtual machine in Azure and how to enable MS SQL Login user. 1. Create new virtual machine with MS SQL server 2. Open a MS SQL port 1433 in azure management for the given virtual machine 3. Log in to the virtual machine 4. Open port in...
Add a comment...

Post has attachment
ASP.NET MVC + T4MVC: How to generate url
If you need to generate a URL link in ASP.NET MVC within your view or controller logic with help of T4MVC, just use the following syntax: Url.Action(MVC.Offer.Edit(offer.Id))
Add a comment...

Post has attachment

Post has attachment

Post has attachment
Wait while more posts are being loaded