Category Archives: C#

C#.StackOnOneLinkedList

Git

 

Posted in C# | Comments Off on C#.StackOnOneLinkedList

C#. OneLinkedList

Example

 

Posted in C# | Comments Off on C#. OneLinkedList

C#.Algo.StackOnLinkedList

Git

 

Posted in C# | Comments Off on C#.Algo.StackOnLinkedList

С#. Algo. FixedStack

Git

   

Posted in C# | Comments Off on С#. Algo. FixedStack

С#. Algo. BinarySearch

Git Recusive, Non Recursive, Generic, Non Generic binary search

 

Posted in C# | Comments Off on С#. Algo. BinarySearch

C#. Algorithms. Greatest common divisor

Git

   

Posted in C# | Comments Off on C#. Algorithms. Greatest common divisor

C#. Connection string examples

localdb examples

With attachment, from ASP MVC, file will be saved in AppData dir

ms sql server example #1

#2

 

Posted in C# | Comments Off on C#. Connection string examples

C#. Entity. CodeSecondApproach

If db already exists and filled with data we just can create Entities in code… For example lets create db manually… in localdb of SQL Server View->Server Explorer. Next in serverName type “(localdb)\MSSQLLocalDB” for vs 2015 and choose new datebase … Continue reading →

Posted in C# | Comments Off on C#. Entity. CodeSecondApproach

С#. LocalDB adventure

  just open cmd and type SqlLocalDB.exe start MSSQLLocalDB     What is localDB? ProblemAndDecision Decision In Visual Studio 2012 all I had to do was enter:

or Visual Studio 2015 changed to:

as the server name when adding a Microsoft SQL Server … Continue reading →

Posted in C# | Comments Off on С#. LocalDB adventure

C#. Entity. Инициализация базы данных

Если нам необходимо, чтобы при первом обращении база данных уже была заполнена некоторыми начальными значениями, то мы можем произвести ее инициализацию. Инициализация происходит при первом обращении к контексту данных. Для инициализации мы можем использовать один из классов инициализаторов, которые имеются … Continue reading →

Posted in C# | Comments Off on C#. Entity. Инициализация базы данных