C# Class Xrm.Sdk.Entity

Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: scottdurow/SparkleXrm

Méthodes publiques

Свойство Type Description
EntityState EntityStates
FormattedValues string>.Dictionary
Id string
LogicalName string
RelatedEntities EntityCollection>.Dictionary

Protected Properties

Свойство Type Description
_metaData System.Collections.Dictionary

Méthodes publiques

Méthode Description
DeSerialise ( XmlNode entityNode ) : void

Set the attribute values from SDK Webservice response on a business entity

Entity ( string entityName ) : System
GetAttributeValue ( string attributeName ) : object
GetAttributeValueEntityReference ( string attributeName ) : Xrm.Sdk.EntityReference
GetAttributeValueFloat ( string attributeName ) : float?
GetAttributeValueGuid ( string attributeName ) : Guid
GetAttributeValueInt ( string attributeName ) : int?
GetAttributeValueOptionSet ( string attributeName ) : Xrm.Sdk.OptionSetValue
GetAttributeValueString ( string attributeName ) : string
RaisePropertyChanged ( string propertyName ) : void
Serialise ( bool ommitRoot ) : string

Serialises the entity to xml to pass to the SDK webservices

SetAttributeValue ( string name, object value ) : void
SortDelegate ( string attributeName, Entity a, Entity b ) : int
ToEntityReference ( ) : Xrm.Sdk.EntityReference

Private Methods

Méthode Description
SetDictionaryValue ( string key, object value ) : void

Method Details

DeSerialise() public méthode

Set the attribute values from SDK Webservice response on a business entity
public DeSerialise ( XmlNode entityNode ) : void
entityNode System.Xml.XmlNode
Résultat void

Entity() public méthode

public Entity ( string entityName ) : System
entityName string
Résultat System

GetAttributeValue() public méthode

public GetAttributeValue ( string attributeName ) : object
attributeName string
Résultat object

GetAttributeValueEntityReference() public méthode

public GetAttributeValueEntityReference ( string attributeName ) : Xrm.Sdk.EntityReference
attributeName string
Résultat Xrm.Sdk.EntityReference

GetAttributeValueFloat() public méthode

public GetAttributeValueFloat ( string attributeName ) : float?
attributeName string
Résultat float?

GetAttributeValueGuid() public méthode

public GetAttributeValueGuid ( string attributeName ) : Guid
attributeName string
Résultat Guid

GetAttributeValueInt() public méthode

public GetAttributeValueInt ( string attributeName ) : int?
attributeName string
Résultat int?

GetAttributeValueOptionSet() public méthode

public GetAttributeValueOptionSet ( string attributeName ) : Xrm.Sdk.OptionSetValue
attributeName string
Résultat Xrm.Sdk.OptionSetValue

GetAttributeValueString() public méthode

public GetAttributeValueString ( string attributeName ) : string
attributeName string
Résultat string

RaisePropertyChanged() public méthode

public RaisePropertyChanged ( string propertyName ) : void
propertyName string
Résultat void

Serialise() public méthode

Serialises the entity to xml to pass to the SDK webservices
public Serialise ( bool ommitRoot ) : string
ommitRoot bool
Résultat string

SetAttributeValue() public méthode

public SetAttributeValue ( string name, object value ) : void
name string
value object
Résultat void

SortDelegate() public static méthode

public static SortDelegate ( string attributeName, Entity a, Entity b ) : int
attributeName string
a Entity
b Entity
Résultat int

ToEntityReference() public méthode

public ToEntityReference ( ) : Xrm.Sdk.EntityReference
Résultat Xrm.Sdk.EntityReference

Property Details

EntityState public_oe property

public EntityStates EntityState
Résultat EntityStates

FormattedValues public_oe property

public Dictionary FormattedValues
Résultat string>.Dictionary

Id public_oe property

public string Id
Résultat string

LogicalName public_oe property

public string LogicalName
Résultat string

RelatedEntities public_oe property

public Dictionary RelatedEntities
Résultat EntityCollection>.Dictionary

_metaData protected_oe property

protected Dictionary,System.Collections _metaData
Résultat System.Collections.Dictionary