Free Code Snippets in C#, Net Framework, Office 365, ASP.Net,WPF, Visual Studio, SQL Server, Antivirus free
#
Linq: Output to a variable list Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
Linq: Output to a variable list
16.08.2018 91
Linq: Output to a variable list How to pass the query results of a Linq query to a free list? Solution: with list and elements of type Object

Linq: Select Fields in Query Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
Linq: Select Fields in Query
16.08.2018 117
Linq: Select Fields in Query Error: object does not contain a definition for fieldname

the type or namespace name dbAppData_Context does not exist Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
the type or namespace name dbAppData_Context does not exist
10.08.2018 75
Problem: Occurs when updating the data model when updating the model at the WPF with an EF Entity Framework connection to a SQL Server database, then it may be that the connection is taken over incorrectly as a data context

Delete record in Linq Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
Delete record in Linq
10.08.2018 91
Delete record in Linq Code snippet: delete record call

Code snippet: Create Linq Select table from ID number fields Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
Code snippet: Create Linq Select table from ID number fields
10.08.2018 80
Code snippet: Create Linq Select table from ID number fields call

EF: Determine new ID of a data record Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
EF: Determine new ID of a data record
03.04.2018 246
Question: How do you get the new ID of a record that you attach to a table in SQL Server using EF Entity Framework? Solution: You create a blank record from the appropriate MVC data model, fill it with new values โ€‹โ€‹and default values

Asp MVC: Output Data from SQL Server directly to a List Type Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
Asp MVC: Output Data from SQL Server directly to a List Type
03.04.2018 277
Asp MVC: Output Data from SQL Server directly to a List Normal call: Get data with Linq-EF from a database table Disadvantage: the results are of type var and have yet to be manually transferred to a list var

Asp MVC: Format Date as Short Date Net-Framework/ASP_dot_Net-Core/Data-Model
Asp MVC: Format Date as Short Date
22.03.2018 892
How to display a date as a short date in Asp Net MVC? The setting must be automatically displayed in each language so that the automatic national representation of the date appears Here the representation in German: So

Linq: Query data with a left join Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
Linq: Query data with a left join
06.03.2018 305
Linq: Query data with a left join Example of a left join query in Linq

Asp Linq: Collect data with a LINQ query from SQL Server Net-Framework/ASP_dot_Net-Core/Data-Model/Linq
Asp Linq: Collect data with a LINQ query from SQL Server
06.03.2018 338
Asp Linq: Collect data with a LINQ query from SQL Server As a table Fill a table of 20 elements directly from the SQL server data table *fill a Linq Table

InvalidOperationException: The model item passed into the ViewDataDictionary ..requires System.Collections.Generic.IEnumerable Net-Framework/ASP_dot_Net-Core/Data-Model/Data-Errors
InvalidOperationException: The model item passed into the ViewDataDictionary ..requires System.Collections.Generic.IEnumerable
06.03.2018 1361
InvalidOperationException: The model item passed into the ViewDataDictionary requires System Collections Generic IEnumerable Error message in the browser An unhandled exception occurre

Asp.Net Core: How to get the ApplicationDbContext in an Asp.Net Core MVC application Net-Framework/ASP_dot_Net-Core/Data-Model
Asp.Net Core: How to get the ApplicationDbContext in an Asp.Net Core MVC application
05.03.2018 1393
Asp Net Core: How to get the ApplicationDbContext in an Asp Net Core MVC application If you want to access the SQL Server database in Asp Net MVC Core application, then you need the ApplicationDbContext short dbContext The ApplicationDbContext links the database ser

Asp.Net MVC: retrieve data via SQLClient from SQL Server without EF Entity Framwork ApplicationDbContext Net-Framework/ASP_dot_Net-Core/Data-Model
Asp.Net MVC: retrieve data via SQLClient from SQL Server without EF Entity Framwork ApplicationDbContext
05.03.2018 304
description This example shows how to pick up and edit data directly from SQL Server without using the ApplicationDbContext The problem is often that the handling of the ApplicationDbContext _dbContext is not publicly available The

Asp.Net Mvc: DbContext as interface of a SQL database Net-Framework/ASP_dot_Net-Core/Data-Model
Asp.Net Mvc: DbContext as interface of a SQL database
09.01.2018 726
Asp Net Mvc: DbContext as interface of a SQL database to the Asp Net Core application A connected database is always connected to Asp Net Core Mvc with some kind of bridge or interface This is called DbContext In principle, the Entity Framework DbContext translate

EF: Update Migration Type Mappings. Which C # variable types are to which SQL server field types Net-Framework/ASP_dot_Net-Core/Data-Model
EF: Update Migration Type Mappings. Which C # variable types are to which SQL server field types
09.12.2017 281
Entity Framework, Default, Types In the following I created a model class under ASP Net Core 2 MVC and transferred them via add-migration and update-database to a SQL server The following variables are converted to C # including default defaults on

ASP.Net Core: Create a database from a model class Net-Framework/ASP_dot_Net-Core/Data-Model
ASP.Net Core: Create a database from a model class
08.03.2017 697
ASP Net Core: Create a database from a model class Question: How to create data from a data model as a class Where can I find the Asp Net Core MVC database, which is created in the project? Under Asp Net Core the databases are usually created in

Mobile

.

Contact for Jobs, Project Requests: raimund.popp@microsoft-programmierer.de