C# Class BExIS.Dlm.Services.Party.PartyManager

ファイルを表示 Open project: BEXIS2/Core Class Usage Examples

Public Methods

Method Description
AddPartyCustomAttriuteValue ( Party party, string>.Dictionary partyCustomAttributeValues ) : IEnumerable

AddPartyCustomAttriuteValue ( Party party, PartyCustomAttribute partyCustomAttribute, string value ) : PartyCustomAttributeValue
AddPartyRelationship ( Party firstParty, Party secondParty, PartyRelationshipType partyRelationshipType, string title, string description, System.DateTime startDate = null, System.DateTime endDate = null, string scope = "" ) : PartyRelationship
AddPartyStatus ( Party party, PartyStatusType partyStatusType, string description ) : PartyStatus
Create ( PartyType partyType, string name, string alias, string description, System.DateTime startDate, System.DateTime endDate, PartyStatusType statusType ) : Party
Delete ( IEnumerable entities ) : bool
Delete ( Party entity ) : bool
PartyManager ( ) : System
RemovePartyCustomAttriuteValue ( IEnumerable entities ) : bool
RemovePartyCustomAttriuteValue ( PartyCustomAttributeValue partyCustomAttributeValue ) : bool
RemovePartyRelationship ( IEnumerable entities ) : bool
RemovePartyRelationship ( PartyRelationship partyRelationship ) : bool
Update ( Party entity ) : Party
UpdatePartyCustomAttriuteValue ( PartyCustomAttribute partyCustomAttribute, Party party, string value ) : PartyCustomAttributeValue

Protected Methods

Method Description
RemovePartyStatus ( IEnumerable entities ) : bool

There is no need to delete party status

RemovePartyStatus ( PartyStatus entity ) : bool

There is no need to delete party status

Method Details

AddPartyCustomAttriuteValue() public method

public AddPartyCustomAttriuteValue ( Party party, string>.Dictionary partyCustomAttributeValues ) : IEnumerable
party BExIS.Dlm.Entities.Party.Party
partyCustomAttributeValues string>.Dictionary
return IEnumerable

AddPartyCustomAttriuteValue() public method

public AddPartyCustomAttriuteValue ( Party party, PartyCustomAttribute partyCustomAttribute, string value ) : PartyCustomAttributeValue
party BExIS.Dlm.Entities.Party.Party
partyCustomAttribute BExIS.Dlm.Entities.Party.PartyCustomAttribute
value string
return BExIS.Dlm.Entities.Party.PartyCustomAttributeValue

AddPartyRelationship() public method

public AddPartyRelationship ( Party firstParty, Party secondParty, PartyRelationshipType partyRelationshipType, string title, string description, System.DateTime startDate = null, System.DateTime endDate = null, string scope = "" ) : PartyRelationship
firstParty BExIS.Dlm.Entities.Party.Party
secondParty BExIS.Dlm.Entities.Party.Party
partyRelationshipType BExIS.Dlm.Entities.Party.PartyRelationshipType
title string
description string
startDate System.DateTime
endDate System.DateTime
scope string
return PartyRelationship

AddPartyStatus() public method

public AddPartyStatus ( Party party, PartyStatusType partyStatusType, string description ) : PartyStatus
party BExIS.Dlm.Entities.Party.Party
partyStatusType BExIS.Dlm.Entities.Party.PartyStatusType
description string
return PartyStatus

Create() public method

public Create ( PartyType partyType, string name, string alias, string description, System.DateTime startDate, System.DateTime endDate, PartyStatusType statusType ) : Party
partyType BExIS.Dlm.Entities.Party.PartyType
name string
alias string
description string
startDate System.DateTime
endDate System.DateTime
statusType BExIS.Dlm.Entities.Party.PartyStatusType
return BExIS.Dlm.Entities.Party.Party

Delete() public method

public Delete ( IEnumerable entities ) : bool
entities IEnumerable
return bool

Delete() public method

public Delete ( Party entity ) : bool
entity BExIS.Dlm.Entities.Party.Party
return bool

PartyManager() public method

public PartyManager ( ) : System
return System

RemovePartyCustomAttriuteValue() public method

public RemovePartyCustomAttriuteValue ( IEnumerable entities ) : bool
entities IEnumerable
return bool

RemovePartyCustomAttriuteValue() public method

public RemovePartyCustomAttriuteValue ( PartyCustomAttributeValue partyCustomAttributeValue ) : bool
partyCustomAttributeValue BExIS.Dlm.Entities.Party.PartyCustomAttributeValue
return bool

RemovePartyRelationship() public method

public RemovePartyRelationship ( IEnumerable entities ) : bool
entities IEnumerable
return bool

RemovePartyRelationship() public method

public RemovePartyRelationship ( PartyRelationship partyRelationship ) : bool
partyRelationship PartyRelationship
return bool

RemovePartyStatus() protected method

There is no need to delete party status
protected RemovePartyStatus ( IEnumerable entities ) : bool
entities IEnumerable
return bool

RemovePartyStatus() protected method

There is no need to delete party status
protected RemovePartyStatus ( PartyStatus entity ) : bool
entity PartyStatus
return bool

Update() public method

public Update ( Party entity ) : Party
entity BExIS.Dlm.Entities.Party.Party
return BExIS.Dlm.Entities.Party.Party

UpdatePartyCustomAttriuteValue() public method

public UpdatePartyCustomAttriuteValue ( PartyCustomAttribute partyCustomAttribute, Party party, string value ) : PartyCustomAttributeValue
partyCustomAttribute BExIS.Dlm.Entities.Party.PartyCustomAttribute
party BExIS.Dlm.Entities.Party.Party
value string
return BExIS.Dlm.Entities.Party.PartyCustomAttributeValue