Updates entities directly in the database, according to the values set in the entityWithNewValues.
Namespace: MonoSoftware.LLBLGenAssembly: MonoSoftware.LLBLGen (in MonoSoftware.LLBLGen.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
public virtual int UpdateEntitiesDirectly(
IEntity2 entityWithNewValues,
IRelationPredicateBucket filter
) |
Visual Basic |
---|
Public Overridable Function UpdateEntitiesDirectly (
entityWithNewValues As IEntity2,
filter As IRelationPredicateBucket
) As Integer |
Visual C++ |
---|
public:
virtual int UpdateEntitiesDirectly(
IEntity2^ entityWithNewValues,
IRelationPredicateBucket^ filter
) |
F# |
---|
abstract UpdateEntitiesDirectly :
entityWithNewValues : IEntity2 *
filter : IRelationPredicateBucket -> int
override UpdateEntitiesDirectly :
entityWithNewValues : IEntity2 *
filter : IRelationPredicateBucket -> int |
Parameters
- entityWithNewValues
- Type: IEntity2
Entity that holds values for update.
- filter
- Type: IRelationPredicateBucket
Filter that restricts the entities to be updated.
Return Value
Type:
Int32Number of entities updated.
Implements
IRepository..::..UpdateEntitiesDirectly(IEntity2, IRelationPredicateBucket)See Also