Skip to content

Instantly share code, notes, and snippets.

# HG changeset patch
# User jkuehner
# Date 1373630899 -7200
# Fri Jul 12 14:08:19 2013 +0200
# Node ID f57b80cbd9298a4e195c080cfb97ffae12951fca
# Parent a9cca0a755c4cc119e4d83f19c8eb1512e88af6a
Support for DataTable
diff -r a9cca0a755c4 -r f57b80cbd929 Source/Examples/ItemsGrid/FeaturesDemo/Examples/ViewModel.cs
--- a/Source/Examples/ItemsGrid/FeaturesDemo/Examples/ViewModel.cs Fri Jan 11 08:35:23 2013 +0100
@jogibear9988
jogibear9988 / gist:5169905
Created March 15, 2013 13:36
ManyToManyAssociationAttribute
using System;
namespace BLToolkit.Mapping
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple=false)]
public class ManyToManyAssociationAttribute : Attribute
{
private string _thisKey; public string ThisKey { get { return _thisKey; } set { _thisKey = value; } }
private string _otherKey; public string OtherKey { get { return _otherKey; } set { _otherKey = value; } }
private string _storage; public string Storage { get { return _storage; } set { _storage = value; } }
@jogibear9988
jogibear9988 / gist:5169904
Created March 15, 2013 13:36
ManyToManyAssosiation.cs
using System;
using JNotNull = JetBrains.Annotations.NotNullAttribute;
namespace BLToolkit.Mapping
{
using Common;
using Reflection;
public class ManyToManyAssociation
Source/BLToolkit.4.csproj | 2 +
Source/Mapping/Fluent/AssociationMap.cs | 58 ++++++++++++++++++++--
Source/Mapping/Fluent/Attributes.cs | 15 ++++++
Source/Mapping/Fluent/FluentMap.Interface.cs | 23 ++++++++-
Source/Mapping/Fluent/FluentMap.cs | 14 ++++--
Source/Mapping/Fluent/IFluentMap.cs | 4 +-
Source/Mapping/Fluent/MapFieldMap.cs | 12 +++--
Source/Mapping/ObjectMapper.cs | 19 +++++++
Source/Reflection/Extension/TypeExtension.cs | 3 +-
.../MetadataProvider/AttributeMetadataProvider.cs | 22 ++++++++
Installers/MPExtended.Installers.WebMediaPortal/Product.wxs | 8 ++++++--
.../MPExtended.ServiceHosts.WebMediaPortal/IISExpressHost.cs | 2 ++
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/Installers/MPExtended.Installers.WebMediaPortal/Product.wxs b/Installers/MPExtended.Installers.WebMediaPortal/Product.wxs
index ad3577f..8ec2192 100644
--- a/Installers/MPExtended.Installers.WebMediaPortal/Product.wxs
+++ b/Installers/MPExtended.Installers.WebMediaPortal/Product.wxs
@@ -61,8 +61,12 @@
<RegistrySearch Id="IISExpressInstalledSearch" Type="raw" Win64="no"
Installers/MPExtended.Installers.Service/Filesystem.wxs | 4 ++--
Libraries/MPExtended.Libraries.Service.Config/Transformations.cs | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Installers/MPExtended.Installers.Service/Filesystem.wxs b/Installers/MPExtended.Installers.Service/Filesystem.wxs
index 15a3c2e..b4de284 100644
--- a/Installers/MPExtended.Installers.Service/Filesystem.wxs
+++ b/Installers/MPExtended.Installers.Service/Filesystem.wxs
@@ -237,8 +237,8 @@
<Directory Id="TVEPlugins" Name="Plugins">