Logging – EF Core

[ad_1] ۱۰/۲۷/۲۰۱۶ ۲ minutes to read Contributors In this article Tip You can view this article’s sample on GitHub. ASP.NET Core applications EF Core integrates automatically with the logging mechanisms of ASP.NET Core whenever AddDbContext or AddDbContextPool is used. Therefore, when using ASP.NET[…]

Cascade Delete – EF Core

[ad_1] ۱۰/۲۷/۲۰۱۶ ۱۳ minutes to read Contributors In this article Cascade delete is commonly used in database terminology to describe a characteristic that allows the deletion of a row to automatically trigger the deletion of related rows. A closely related concept also covered[…]

Query Types – EF Core

[ad_1] ۲/۲۶/۲۰۱۸ ۳ minutes to read Contributors In this article Note This feature is new in EF Core 2.1 In addition to entity types, an EF Core model can contain query types, which can be used to carry out database queries against data that isn’t mapped[…]

Troubleshooting bots – Bot Service

[ad_1] ۱۲/۱۳/۲۰۱۷ ۱۸ minutes to read Contributors In this article These frequently asked questions can help you to troubleshoot common bot development or operational issues. How can I troubleshoot issues with my bot? Debug your bot’s source code with Visual Studio Code or Visual Studio. Test[…]

Getting Started on .NET Core – New database – EF Core

[ad_1] ۰۴/۰۵/۲۰۱۷ ۳ minutes to read Contributors In this article In this walkthrough, you will create a .NET Core console app that performs basic data access against a SQLite database using Entity Framework Core. You will use migrations to create the database from your model. See[…]

Getting Started on ASP.NET Core – Existing Database – EF Core

[ad_1] ۱۰/۲۷/۲۰۱۶ ۵ minutes to read Contributors In this article In this walkthrough, you will build an ASP.NET Core MVC application that performs basic data access using Entity Framework. You will use reverse engineering to create an Entity Framework model based on an existing database. Tip[…]

Troubleshooting bots – Bot Service

[ad_1] ۱۲/۱۳/۲۰۱۷ ۱۸ minutes to read Contributors In this article These frequently asked questions can help you to troubleshoot common bot development or operational issues. How can I troubleshoot issues with my bot? Debug your bot’s source code with Visual Studio Code or Visual Studio. Test[…]

Open Web Interface for .NET (OWIN) with ASP.NET Core

[ad_1] ۱۰/۱۴/۲۰۱۶ ۵ minutes to read Contributors In this article By Steve Smith and Rick Anderson ASP.NET Core supports the Open Web Interface for .NET (OWIN). OWIN allows web apps to be decoupled from web servers. It defines a standard way for middleware to be used[…]

Loading Related Data – EF Core

[ad_1] ۱۰/۲۷/۲۰۱۶ ۸ minutes to read Contributors In this article Entity Framework Core allows you to use the navigation properties in your model to load related entities. There are three common O/RM patterns used to load related data. Eager loading means that the related data is[…]

Saving Related Data – EF Core

[ad_1] ۱۰/۲۷/۲۰۱۶ ۲ minutes to read Contributors In this article In addition to isolated entities, you can also make use of the relationships defined in your model. Tip You can view this article’s sample on GitHub. Adding a graph of new entities If you create several[…]