C# Class Dapper.SimpleSave.Impl.OperationBuilder

Mostra file Open project: Paymentsense/Dapper.SimpleSave

Public Methods

Method Description
Build ( IEnumerable differences ) : IEnumerable

Private Methods

Method Description
AddDeleteToListAtCorrectLocation ( IList operations, DeleteOperation deleteOperation ) : void
AddInsertToListAtCorrectLocation ( IList operations, InsertOperation insertOperation ) : void
AddUpdateOnParentTableForInsertDeleteOfManyToOneChildRow ( IList operations, Dapper.SimpleSave.Impl.Difference diff, BaseInsertDeleteOperation insertOperation ) : void
AddUpdateOnParentTableForInsertDeleteOfOneToOneChildRow ( IList operations, Dapper.SimpleSave.Impl.Difference diff, BaseInsertDeleteOperation insertDeleteOperation ) : void
AppendDeleteOperation ( IList operations, Dapper.SimpleSave.Impl.Difference diff ) : void
AppendInsertOperation ( IList operations, Dapper.SimpleSave.Impl.Difference diff ) : void
AppendUpdateOperation ( IList operations, Dapper.SimpleSave.Impl.Difference diff ) : void
HasAnyOneToOneChildrenWithFKOnParent ( DeleteOperation deleteOperation ) : bool
IsViableParentUpdateOnManyToOneRelationship ( BaseInsertDeleteOperation insertDeleteOperation, Dapper.SimpleSave.Impl.Difference diff ) : bool
IsViableParentUpdateOnOneToOneWithFkInParent ( BaseInsertDeleteOperation insertDeleteOperation, Dapper.SimpleSave.Impl.Difference diff ) : bool
PrependDeleteBeforeReferencedChildTableDelete ( IList operations, DeleteOperation deleteOperation ) : void
PrependInsertBeforeParentTableInsert ( IList operations, InsertOperation insertOperation ) : void
ShouldFilterOutForParticularCardinalitiesBecauseFkOnParent ( BaseInsertDeleteOperation insertDeleteOperation ) : bool
Transform ( BaseInsertDeleteOperation baseInsertDelete ) : BaseOperation

Method Details

Build() public method

public Build ( IEnumerable differences ) : IEnumerable
differences IEnumerable
return IEnumerable