Visual Basic (Declaration) | |
---|---|
<InterfaceExportAttribute(ContractName="", ContractType=IdeaBlade.EntityModel.Server.EntityServerPocoSaveAdapter)> Public MustInherit Class EntityServerPocoSaveAdapter |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As EntityServerPocoSaveAdapter |
C# | |
---|---|
[InterfaceExportAttribute(ContractName="", ContractType=IdeaBlade.EntityModel.Server.EntityServerPocoSaveAdapter)] public abstract class EntityServerPocoSaveAdapter |
C++/CLI | |
---|---|
[InterfaceExportAttribute(ContractName="", ContractType=IdeaBlade.EntityModel.Server.EntityServerPocoSaveAdapter)] public ref class EntityServerPocoSaveAdapter abstract |
Create a class which inherits from the EntitySaveAdapter to handle save processing for POCO entities. Override the InsertEntity, UpdateEntity and DeleteEntity methods as needed. Note that each POCO entity to be saved will be passed to the method corresponding to the save action required. Each of these methods should handle entities of any POCO type.
Any entity with an EntityState of Added, Modified or Deleted and which is not backed by an EdmKey will be passed to the EntitySaveAdapter.
Be sure to place your implementation of EntitySaveAdapter in an assembly which will be deployed to your BOS in n-tier implementations.
Your implementation should contain a single parameterless constructor.
System.Object
IdeaBlade.EntityModel.Server.EntityServerPocoSaveAdapter
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family