XorEdge.Database
1.0.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package XorEdge.Database --version 1.0.2
NuGet\Install-Package XorEdge.Database -Version 1.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XorEdge.Database" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XorEdge.Database --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: XorEdge.Database, 1.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install XorEdge.Database as a Cake Addin #addin nuget:?package=XorEdge.Database&version=1.0.2 // Install XorEdge.Database as a Cake Tool #tool nuget:?package=XorEdge.Database&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
public class DbContext : XorEdgeDbContext { public DbContext() : base("DefaultConnection") { }
public DbSet<Customer> Customers { get; set; }
}
public class Customer : EntityBase
{
public int Id { get; set; }
public string Name { get; set; }
public string Tag1 { get; set; }
public string Tag2 { get; set; }
public override void BeforeSave(XorEdgeDbContext db, EntityState state)
{
this.Tag1 = "Before save";
base.BeforeSave(db, state);
}
public override void AfterSave(XorEdgeDbContext db, EntityState state)
{
this.Tag2 = "After save";
base.AfterSave(db, state);
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- EntityFramework (>= 6.2.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on XorEdge.Database:
Package | Downloads |
---|---|
Xoredge.Api
EntityControllerBase and ApiControllerBase to create Api Controllers with complete OData query parameters support $expand, $select, $filter, $orderby, $count, $top and $skip |
|
Xoredge.RazorEditor
Razor pages online editor. |
|
Witline.RazorEditor
Razor pages online editor. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Removed Id from EntityBase