Esempio n. 1
0
 /// <summary>
 /// States that a collection and therefore its values are owned by the parent
 /// </summary>
 /// <param name="expression">The expression which represents the collection relation</param>
 /// <param name="mapping">Any further mapping for the children of this relation</param>
 public static IUpdateConfiguration <T> OwnedCollection <T, T2>(this IUpdateConfiguration <T> config, Expression <Func <T, ICollection <T2> > > expression, Expression <Func <IUpdateConfiguration <T2>, object> > mapping)
 {
     return(config);
 }
Esempio n. 2
0
 /// <summary>
 /// States that a collection is only an association and the parent does not own the collection
 /// </summary>
 /// <param name="expression">The expression which represents the collection relation</param>
 public static IUpdateConfiguration <T> AssociatedCollection <T, T2>(this IUpdateConfiguration <T> config, Expression <Func <T, ICollection <T2> > > expression)
 {
     return(config);
 }
Esempio n. 3
0
 /// <summary>
 /// States that a single entity relation is owned by its parent
 /// </summary>
 public static IUpdateConfiguration <T> OwnedEntity <T, T2>(this IUpdateConfiguration <T> config, Expression <Func <T, T2> > expression)
 {
     return(config);
 }
Esempio n. 4
0
 public abstract bool Set(IUpdateConfiguration configuration, object value);
Esempio n. 5
0
 public ConfigurationReader(IUpdateConfiguration updateConfiguration)
 {
     this.updateConfiguration = updateConfiguration;
 }
 public UpdateConfigurationCommandHandler(IDomainEventDispatcher eventDispatcher, IUpdateConfiguration updateConfiguration)
 {
     _eventDispatcher     = eventDispatcher;
     _updateConfiguration = updateConfiguration;
 }