diff --git a/Volo.Abp.sln b/Volo.Abp.sln index dd6ed5ba4a..b3e34a7248 100644 --- a/Volo.Abp.sln +++ b/Volo.Abp.sln @@ -52,6 +52,8 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Volo.Abp.AspNetCore.MultiTe EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Volo.Abp.AspNetCore.TestBase", "src\Volo.Abp.AspNetCore.TestBase\Volo.Abp.AspNetCore.TestBase.xproj", "{DDEC5D74-212F-41BD-974C-4B4E88E574E1}" EndProject +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Volo.Abp.EntityFrameworkCore", "src\Volo.Abp.EntityFrameworkCore\Volo.Abp.EntityFrameworkCore.xproj", "{A1AE63E9-0CF4-4AFB-A584-65D826DEA3CB}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -118,6 +120,10 @@ Global {DDEC5D74-212F-41BD-974C-4B4E88E574E1}.Debug|Any CPU.Build.0 = Debug|Any CPU {DDEC5D74-212F-41BD-974C-4B4E88E574E1}.Release|Any CPU.ActiveCfg = Release|Any CPU {DDEC5D74-212F-41BD-974C-4B4E88E574E1}.Release|Any CPU.Build.0 = Release|Any CPU + {A1AE63E9-0CF4-4AFB-A584-65D826DEA3CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A1AE63E9-0CF4-4AFB-A584-65D826DEA3CB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A1AE63E9-0CF4-4AFB-A584-65D826DEA3CB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A1AE63E9-0CF4-4AFB-A584-65D826DEA3CB}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -143,5 +149,6 @@ Global {7CC7946B-E026-4F66-8D4F-4F78F4801D43} = {4C753F64-0C93-4D65-96C2-A40893AFC1E8} {2C282467-2CD5-4750-BE1F-CA8BD8ECC6EA} = {37087D1B-3693-4E96-983D-A69F210BDE53} {DDEC5D74-212F-41BD-974C-4B4E88E574E1} = {4C753F64-0C93-4D65-96C2-A40893AFC1E8} + {A1AE63E9-0CF4-4AFB-A584-65D826DEA3CB} = {4C753F64-0C93-4D65-96C2-A40893AFC1E8} EndGlobalSection EndGlobal diff --git a/src/Volo.Abp.EntityFrameworkCore/Properties/AssemblyInfo.cs b/src/Volo.Abp.EntityFrameworkCore/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000..765af70006 --- /dev/null +++ b/src/Volo.Abp.EntityFrameworkCore/Properties/AssemblyInfo.cs @@ -0,0 +1,19 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Volo.Abp.EntityFrameworkCore")] +[assembly: AssemblyTrademark("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a1ae63e9-0cf4-4afb-a584-65d826dea3cb")] diff --git a/src/Volo.Abp.EntityFrameworkCore/Volo.Abp.EntityFrameworkCore.xproj b/src/Volo.Abp.EntityFrameworkCore/Volo.Abp.EntityFrameworkCore.xproj new file mode 100644 index 0000000000..eae8272828 --- /dev/null +++ b/src/Volo.Abp.EntityFrameworkCore/Volo.Abp.EntityFrameworkCore.xproj @@ -0,0 +1,21 @@ + + + + 14.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + a1ae63e9-0cf4-4afb-a584-65d826dea3cb + Volo.Abp.EntityFrameworkCore + .\obj + .\bin\ + v4.6.1 + + + + 2.0 + + + diff --git a/src/Volo.Abp.EntityFrameworkCore/project.json b/src/Volo.Abp.EntityFrameworkCore/project.json new file mode 100644 index 0000000000..147ad7b22b --- /dev/null +++ b/src/Volo.Abp.EntityFrameworkCore/project.json @@ -0,0 +1,15 @@ +{ + "version": "1.0.0-*", + + "dependencies": { + "Microsoft.EntityFrameworkCore": "1.1.0", + "NETStandard.Library": "1.6.1", + "Volo.Abp": "1.0.0-*" + }, + + "frameworks": { + "netstandard1.6": { + "imports": "dnxcore50" + } + } +} diff --git a/src/Volo.Abp/Volo/Abp/Domain/Entities/AggregateRoot.cs b/src/Volo.Abp/Volo/Abp/Domain/Entities/AggregateRoot.cs new file mode 100644 index 0000000000..02bcda67c4 --- /dev/null +++ b/src/Volo.Abp/Volo/Abp/Domain/Entities/AggregateRoot.cs @@ -0,0 +1,6 @@ +namespace Volo.Abp.Domain.Entities +{ + public class AggregateRoot : Entity, IAggregateRoot + { + } +} \ No newline at end of file diff --git a/src/Volo.Abp/Volo/Abp/Domain/Entities/IAggregateRoot.cs b/src/Volo.Abp/Volo/Abp/Domain/Entities/IAggregateRoot.cs new file mode 100644 index 0000000000..3c0c97ba99 --- /dev/null +++ b/src/Volo.Abp/Volo/Abp/Domain/Entities/IAggregateRoot.cs @@ -0,0 +1,9 @@ +namespace Volo.Abp.Domain.Entities +{ + //TODO: Domain events + + public interface IAggregateRoot : IEntity + { + + } +}