Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added IDisposable to DataProviders.
Added WindowsForms mapping test application.
Fixed MappedName (Alias or Name) in PropertyMapping.
Fixed (AddDefaultPropertyMappings).
Added RepositoryKey concept for differ repository on multiple properties,
now only the entity and keytype, also with mapping and the provider beeing used.
  • Loading branch information
peterbucher committed Feb 28, 2011
1 parent fcc46a7 commit 2f7030f
Show file tree
Hide file tree
Showing 37 changed files with 1,945 additions and 760 deletions.
35 changes: 31 additions & 4 deletions Project/XmlRepository.sln
Expand Up @@ -11,6 +11,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XmlRepository.Contracts", "
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build Items", "Build Items", "{1373055A-C885-4762-8E4B-4A01190DA072}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsMappingTestApp", "..\WindowsFormsMappingTestApp\WindowsFormsMappingTestApp.csproj", "{05A88542-574A-46E2-B80E-14E102770C4D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MSBuild", "MSBuild", "{0C494536-CC08-4BCF-A86C-2305A677C52C}"
ProjectSection(SolutionItems) = preProject
MSBuild.xml = MSBuild.xml
Expand All @@ -19,42 +21,67 @@ EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|Mixed Platforms = Release|Mixed Platforms
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{78BD1D21-0F16-43E5-AD49-1B0991114D30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{78BD1D21-0F16-43E5-AD49-1B0991114D30}.Debug|Any CPU.Build.0 = Debug|Any CPU
{78BD1D21-0F16-43E5-AD49-1B0991114D30}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{78BD1D21-0F16-43E5-AD49-1B0991114D30}.Debug|Mixed Platforms.Build.0 = Debug|x86
{78BD1D21-0F16-43E5-AD49-1B0991114D30}.Debug|x86.ActiveCfg = Debug|x86
{78BD1D21-0F16-43E5-AD49-1B0991114D30}.Debug|x86.Build.0 = Debug|x86
{78BD1D21-0F16-43E5-AD49-1B0991114D30}.Release|Any CPU.ActiveCfg = Release|Any CPU
{78BD1D21-0F16-43E5-AD49-1B0991114D30}.Release|Any CPU.Build.0 = Release|Any CPU
{78BD1D21-0F16-43E5-AD49-1B0991114D30}.Release|Mixed Platforms.ActiveCfg = Release|x86
{78BD1D21-0F16-43E5-AD49-1B0991114D30}.Release|Mixed Platforms.Build.0 = Release|x86
{78BD1D21-0F16-43E5-AD49-1B0991114D30}.Release|x86.ActiveCfg = Release|x86
{78BD1D21-0F16-43E5-AD49-1B0991114D30}.Release|x86.Build.0 = Release|x86
{D3E46600-454D-4B0D-B8E1-F20E7560A833}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D3E46600-454D-4B0D-B8E1-F20E7560A833}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{D3E46600-454D-4B0D-B8E1-F20E7560A833}.Debug|Mixed Platforms.Build.0 = Debug|x86
{D3E46600-454D-4B0D-B8E1-F20E7560A833}.Debug|x86.ActiveCfg = Debug|x86
{D3E46600-454D-4B0D-B8E1-F20E7560A833}.Debug|x86.Build.0 = Debug|x86
{D3E46600-454D-4B0D-B8E1-F20E7560A833}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D3E46600-454D-4B0D-B8E1-F20E7560A833}.Release|Any CPU.Build.0 = Release|Any CPU
{D3E46600-454D-4B0D-B8E1-F20E7560A833}.Release|Mixed Platforms.ActiveCfg = Release|x86
{D3E46600-454D-4B0D-B8E1-F20E7560A833}.Release|Mixed Platforms.Build.0 = Release|x86
{D3E46600-454D-4B0D-B8E1-F20E7560A833}.Release|x86.ActiveCfg = Release|x86
{D3E46600-454D-4B0D-B8E1-F20E7560A833}.Release|x86.Build.0 = Release|x86
{108D8A40-77C6-4749-83D6-32840571EDA2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{108D8A40-77C6-4749-83D6-32840571EDA2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{108D8A40-77C6-4749-83D6-32840571EDA2}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{108D8A40-77C6-4749-83D6-32840571EDA2}.Debug|Mixed Platforms.Build.0 = Debug|x86
{108D8A40-77C6-4749-83D6-32840571EDA2}.Debug|x86.ActiveCfg = Debug|x86
{108D8A40-77C6-4749-83D6-32840571EDA2}.Debug|x86.Build.0 = Debug|x86
{108D8A40-77C6-4749-83D6-32840571EDA2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{108D8A40-77C6-4749-83D6-32840571EDA2}.Release|Any CPU.Build.0 = Release|Any CPU
{108D8A40-77C6-4749-83D6-32840571EDA2}.Release|Mixed Platforms.ActiveCfg = Release|x86
{108D8A40-77C6-4749-83D6-32840571EDA2}.Release|Mixed Platforms.Build.0 = Release|x86
{108D8A40-77C6-4749-83D6-32840571EDA2}.Release|x86.ActiveCfg = Release|x86
{108D8A40-77C6-4749-83D6-32840571EDA2}.Release|x86.Build.0 = Release|x86
{D767D082-CF51-449C-963C-BCBC8CF6BB9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D767D082-CF51-449C-963C-BCBC8CF6BB9E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D767D082-CF51-449C-963C-BCBC8CF6BB9E}.Debug|x86.ActiveCfg = Debug|x86
{D767D082-CF51-449C-963C-BCBC8CF6BB9E}.Debug|x86.Build.0 = Debug|x86
{D767D082-CF51-449C-963C-BCBC8CF6BB9E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{D767D082-CF51-449C-963C-BCBC8CF6BB9E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{D767D082-CF51-449C-963C-BCBC8CF6BB9E}.Debug|x86.ActiveCfg = Debug|Any CPU
{D767D082-CF51-449C-963C-BCBC8CF6BB9E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D767D082-CF51-449C-963C-BCBC8CF6BB9E}.Release|Any CPU.Build.0 = Release|Any CPU
{D767D082-CF51-449C-963C-BCBC8CF6BB9E}.Release|x86.ActiveCfg = Release|x86
{D767D082-CF51-449C-963C-BCBC8CF6BB9E}.Release|x86.Build.0 = Release|x86
{D767D082-CF51-449C-963C-BCBC8CF6BB9E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{D767D082-CF51-449C-963C-BCBC8CF6BB9E}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{D767D082-CF51-449C-963C-BCBC8CF6BB9E}.Release|x86.ActiveCfg = Release|Any CPU
{05A88542-574A-46E2-B80E-14E102770C4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{05A88542-574A-46E2-B80E-14E102770C4D}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{05A88542-574A-46E2-B80E-14E102770C4D}.Debug|Mixed Platforms.Build.0 = Debug|x86
{05A88542-574A-46E2-B80E-14E102770C4D}.Debug|x86.ActiveCfg = Debug|x86
{05A88542-574A-46E2-B80E-14E102770C4D}.Debug|x86.Build.0 = Debug|x86
{05A88542-574A-46E2-B80E-14E102770C4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{05A88542-574A-46E2-B80E-14E102770C4D}.Release|Mixed Platforms.ActiveCfg = Release|x86
{05A88542-574A-46E2-B80E-14E102770C4D}.Release|Mixed Platforms.Build.0 = Release|x86
{05A88542-574A-46E2-B80E-14E102770C4D}.Release|x86.ActiveCfg = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Binary file not shown.
Binary file modified Referenced DLLs/cherryflavored.net/cherryflavored.net.dll
Binary file not shown.
30 changes: 30 additions & 0 deletions WindowsFormsMappingTestApp/Article.cs
@@ -0,0 +1,30 @@
using System;

namespace WindowsFormsMappingTestApp
{
public class Article
{
public Article()
{
this.Id = Guid.NewGuid();
}

public Guid Id
{
get;
set;
}

public string Title
{
get;
set;
}

public string Description
{
get;
set;
}
}
}
211 changes: 211 additions & 0 deletions WindowsFormsMappingTestApp/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2f7030f

Please sign in to comment.