C# Класс MonoSoftware.MonoX.DAL.EntityClasses.SnRelationshipEntity

Наследование: CommonEntityBase
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DesetupSyncAspnetApplication void
DesetupSyncAspnetUser void
DesetupSyncBlog void
DesetupSyncBlogPost void
DesetupSyncCalendarEvent void
DesetupSyncCampaign void
DesetupSyncDocument void
DesetupSyncListItem void
DesetupSyncNewsCategory void
DesetupSyncNewsItem void
DesetupSyncNewsletter void
DesetupSyncPage void
DesetupSyncPoll void
DesetupSyncSnAlbum void
DesetupSyncSnDiscussionBoard void
DesetupSyncSnDiscussionMessage void
DesetupSyncSnDiscussionTopic void
DesetupSyncSnFile void
DesetupSyncSnGroup void
DesetupSyncSnMessage void
DesetupSyncSnNote void
GetObjectData void
GetRelationsForField RelationCollection
InitClassEmpty void
InitClassMembers void
OnAspnetApplicationPropertyChanged void
OnAspnetUserPropertyChanged void
OnBlogPostPropertyChanged void
OnBlogPropertyChanged void
OnCalendarEventPropertyChanged void
OnCampaignPropertyChanged void
OnDocumentPropertyChanged void
OnListItemPropertyChanged void
OnNewsCategoryPropertyChanged void
OnNewsItemPropertyChanged void
OnNewsletterPropertyChanged void
OnPagePropertyChanged void
OnPollPropertyChanged void
OnSnAlbumPropertyChanged void
OnSnDiscussionBoardPropertyChanged void
OnSnDiscussionMessagePropertyChanged void
OnSnDiscussionTopicPropertyChanged void
OnSnFilePropertyChanged void
OnSnGroupPropertyChanged void
OnSnMessagePropertyChanged void
OnSnNotePropertyChanged void
SetupCustomPropertyHashtables void
SetupSyncAspnetApplication void
SetupSyncAspnetUser void
SetupSyncBlog void
SetupSyncBlogPost void
SetupSyncCalendarEvent void
SetupSyncCampaign void
SetupSyncDocument void
SetupSyncListItem void
SetupSyncNewsCategory void
SetupSyncNewsItem void
SetupSyncNewsletter void
SetupSyncPage void
SetupSyncPoll void
SetupSyncSnAlbum void
SetupSyncSnDiscussionBoard void
SetupSyncSnDiscussionMessage void
SetupSyncSnDiscussionTopic void
SetupSyncSnFile void
SetupSyncSnGroup void
SetupSyncSnMessage void
SetupSyncSnNote void
SnRelationshipEntity System.Runtime.Serialization
SnRelationshipEntity System.Runtime.Serialization

Открытые методы

Метод Описание
GetRelationInfoAspnetApplication ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'AspnetApplications' to this entity.

GetRelationInfoAspnetUser ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'AspnetUsers' to this entity.

GetRelationInfoBlog ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'Blog' to this entity.

GetRelationInfoBlogPost ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'BlogPost' to this entity.

GetRelationInfoCalendarEvent ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'CalendarEvent' to this entity.

GetRelationInfoCampaign ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'Campaign' to this entity.

GetRelationInfoDocument ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'Document' to this entity.

GetRelationInfoListItem ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'ListItem' to this entity.

GetRelationInfoNewsCategory ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'NewsCategory' to this entity.

GetRelationInfoNewsItem ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'NewsItem' to this entity.

GetRelationInfoNewsletter ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'Newsletter' to this entity.

GetRelationInfoPage ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'Page' to this entity.

GetRelationInfoPoll ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'Poll' to this entity.

GetRelationInfoSnAlbum ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnAlbum' to this entity.

GetRelationInfoSnComments ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entities of type 'SnComment' to this entity.

GetRelationInfoSnDiscussionBoard ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnDiscussionBoard' to this entity.

GetRelationInfoSnDiscussionMessage ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnDiscussionMessage' to this entity.

GetRelationInfoSnDiscussionTopic ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnDiscussionTopic' to this entity.

GetRelationInfoSnFile ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnFile' to this entity.

GetRelationInfoSnFiles ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entities of type 'SnFile' to this entity.

GetRelationInfoSnGroup ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnGroup' to this entity.

GetRelationInfoSnMessage ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnMessage' to this entity.

GetRelationInfoSnNote ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnNote' to this entity.

GetRelationInfoSnRatings ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entities of type 'SnRating' to this entity.

GetRelationInfoSnSubscribers ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entities of type 'SnSubscriber' to this entity.

GetRelationInfoSnTags ( ) : IRelationPredicateBucket

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entities of type 'SnTag' to this entity.

SnRelationshipEntity ( IEntityFields2 fields ) : System.Runtime.Serialization

CTor

For framework usage.

SnRelationshipEntity ( IValidator validator ) : System.Runtime.Serialization

CTor

SnRelationshipEntity ( System id ) : System.Runtime.Serialization

CTor

The entity is not fetched by this constructor. Use a DataAccessAdapter for that.

SnRelationshipEntity ( System id, IValidator validator ) : System.Runtime.Serialization

CTor

The entity is not fetched by this constructor. Use a DataAccessAdapter for that.

Защищенные методы

Метод Описание
AddToMemberEntityCollectionsQueue ( Queue collectionsQueue ) : void

Adds the member collections to the collections queue (base first)

CheckOneWayRelations ( string propertyName ) : bool

Checks if the relation mapped by the property with the name specified is a one way / single sided relation. If the passed in name is null, it/ will return true if the entity has any single-sided relation

CreateEntityFactory ( ) : IEntityFactory2

Creates a new instance of the factory related to this entity

CreateMemberEntityCollectionsQueue ( Queue collectionsQueue, Queue requiredQueue ) : void

Creates the member entity collections queue.

GetAllRelations ( ) : List

Gets a list of all the EntityRelation objects the type of this instance has.

GetDependentRelatedEntities ( ) : List

Gets a collection of related entities referenced by this entity which this entity depends on (this entity is the FK side of their PK fields). These entities will have to be persisted before this entity during a recursive save.

GetDependingRelatedEntities ( ) : List

Gets a collection of related entities referenced by this entity which depend on this entity (this entity is the PK side of their FK fields). These entities will have to be persisted after this entity during a recursive save.

GetFromMemberEntityCollectionsQueue ( Queue collectionsQueue ) : void

Gets the member collections queue from the queue (base first)

GetMemberEntityCollections ( ) : List

Gets a list of all entity collections stored as member variables in this entity. Only 1:n related collections are returned.

GetRelatedData ( ) : object>.Dictionary

Gets all related data objects, stored by name. The name is the field name mapped onto the relation for that particular data element.

GetRelationsForFieldOfType ( string fieldName ) : RelationCollection

Gets the relation objects which represent the relation the fieldName specified is mapped on.

HasPopulatedMemberEntityCollections ( ) : bool

Determines whether the entity has populated member collections

PerformDesyncSetupFKFieldChange ( int fieldIndex ) : void

Performs the desync setup when an FK field has been changed. The entity referenced based on the FK field will be dereferenced and sync info will be removed.

SetRelatedEntity ( IEntityCore relatedEntity, string fieldName ) : void

Sets the internal parameter related to the fieldname passed to the instance relatedEntity.

SetRelatedEntityProperty ( string propertyName, IEntityCore entity ) : void

Sets the related entity property to the entity specified. If the property is a collection, it will add the entity specified to that collection.

Used by prefetch path logic.

UnsetRelatedEntity ( IEntityCore relatedEntity, string fieldName, bool signalRelatedEntityManyToOne ) : void

Unsets the internal parameter related to the fieldname passed to the instance relatedEntity. Reverses the actions taken by SetRelatedEntity()

Приватные методы

Метод Описание
DesetupSyncAspnetApplication ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _aspnetApplication

DesetupSyncAspnetUser ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _aspnetUser

DesetupSyncBlog ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _blog

DesetupSyncBlogPost ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _blogPost

DesetupSyncCalendarEvent ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _calendarEvent

DesetupSyncCampaign ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _campaign

DesetupSyncDocument ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _document

DesetupSyncListItem ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _listItem

DesetupSyncNewsCategory ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _newsCategory

DesetupSyncNewsItem ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _newsItem

DesetupSyncNewsletter ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _newsletter

DesetupSyncPage ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _page

DesetupSyncPoll ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _poll

DesetupSyncSnAlbum ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _snAlbum

DesetupSyncSnDiscussionBoard ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _snDiscussionBoard

DesetupSyncSnDiscussionMessage ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _snDiscussionMessage

DesetupSyncSnDiscussionTopic ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _snDiscussionTopic

DesetupSyncSnFile ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _snFile

DesetupSyncSnGroup ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _snGroup

DesetupSyncSnMessage ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _snMessage

DesetupSyncSnNote ( bool signalRelatedEntity, bool resetFKFields ) : void

Removes the sync logic for member _snNote

GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetRelationsForField ( string fieldName ) : RelationCollection

Gets the relation objects which represent the relation the fieldName specified is mapped on.

InitClassEmpty ( IValidator validator, IEntityFields2 fields ) : void

Initializes the class with empty data, as if it is a new Entity.

InitClassMembers ( ) : void

Initializes the class members

OnAspnetApplicationPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnAspnetUserPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnBlogPostPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnBlogPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnCalendarEventPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnCampaignPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnDocumentPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnListItemPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnNewsCategoryPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnNewsItemPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnNewsletterPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnPagePropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnPollPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnSnAlbumPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnSnDiscussionBoardPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnSnDiscussionMessagePropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnSnDiscussionTopicPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnSnFilePropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnSnGroupPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnSnMessagePropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

OnSnNotePropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Handles property change events of properties in a related entity.

SetupCustomPropertyHashtables ( ) : void

Initializes the hashtables for the entity type and entity field custom properties.

SetupSyncAspnetApplication ( IEntityCore relatedEntity ) : void

setups the sync logic for member _aspnetApplication

SetupSyncAspnetUser ( IEntityCore relatedEntity ) : void

setups the sync logic for member _aspnetUser

SetupSyncBlog ( IEntityCore relatedEntity ) : void

setups the sync logic for member _blog

SetupSyncBlogPost ( IEntityCore relatedEntity ) : void

setups the sync logic for member _blogPost

SetupSyncCalendarEvent ( IEntityCore relatedEntity ) : void

setups the sync logic for member _calendarEvent

SetupSyncCampaign ( IEntityCore relatedEntity ) : void

setups the sync logic for member _campaign

SetupSyncDocument ( IEntityCore relatedEntity ) : void

setups the sync logic for member _document

SetupSyncListItem ( IEntityCore relatedEntity ) : void

setups the sync logic for member _listItem

SetupSyncNewsCategory ( IEntityCore relatedEntity ) : void

setups the sync logic for member _newsCategory

SetupSyncNewsItem ( IEntityCore relatedEntity ) : void

setups the sync logic for member _newsItem

SetupSyncNewsletter ( IEntityCore relatedEntity ) : void

setups the sync logic for member _newsletter

SetupSyncPage ( IEntityCore relatedEntity ) : void

setups the sync logic for member _page

SetupSyncPoll ( IEntityCore relatedEntity ) : void

setups the sync logic for member _poll

SetupSyncSnAlbum ( IEntityCore relatedEntity ) : void

setups the sync logic for member _snAlbum

SetupSyncSnDiscussionBoard ( IEntityCore relatedEntity ) : void

setups the sync logic for member _snDiscussionBoard

SetupSyncSnDiscussionMessage ( IEntityCore relatedEntity ) : void

setups the sync logic for member _snDiscussionMessage

SetupSyncSnDiscussionTopic ( IEntityCore relatedEntity ) : void

setups the sync logic for member _snDiscussionTopic

SetupSyncSnFile ( IEntityCore relatedEntity ) : void

setups the sync logic for member _snFile

SetupSyncSnGroup ( IEntityCore relatedEntity ) : void

setups the sync logic for member _snGroup

SetupSyncSnMessage ( IEntityCore relatedEntity ) : void

setups the sync logic for member _snMessage

SetupSyncSnNote ( IEntityCore relatedEntity ) : void

setups the sync logic for member _snNote

SnRelationshipEntity ( ) : System.Runtime.Serialization

Static CTor for setting up custom property hashtables. Is executed before the first instance of this entity class or derived classes is constructed.

SnRelationshipEntity ( SerializationInfo info, StreamingContext context ) : System.Runtime.Serialization

Описание методов

AddToMemberEntityCollectionsQueue() защищенный Метод

Adds the member collections to the collections queue (base first)
protected AddToMemberEntityCollectionsQueue ( Queue collectionsQueue ) : void
collectionsQueue Queue The collections queue.
Результат void

CheckOneWayRelations() защищенный Метод

Checks if the relation mapped by the property with the name specified is a one way / single sided relation. If the passed in name is null, it/ will return true if the entity has any single-sided relation
protected CheckOneWayRelations ( string propertyName ) : bool
propertyName string Name of the property which is mapped onto the relation to check, or null to check if the entity has any relation/ which is single sided
Результат bool

CreateEntityFactory() защищенный Метод

Creates a new instance of the factory related to this entity
protected CreateEntityFactory ( ) : IEntityFactory2
Результат IEntityFactory2

CreateMemberEntityCollectionsQueue() защищенный Метод

Creates the member entity collections queue.
protected CreateMemberEntityCollectionsQueue ( Queue collectionsQueue, Queue requiredQueue ) : void
collectionsQueue Queue The collections queue.
requiredQueue Queue The required queue.
Результат void

GetAllRelations() защищенный Метод

Gets a list of all the EntityRelation objects the type of this instance has.
protected GetAllRelations ( ) : List
Результат List

GetDependentRelatedEntities() защищенный Метод

Gets a collection of related entities referenced by this entity which this entity depends on (this entity is the FK side of their PK fields). These entities will have to be persisted before this entity during a recursive save.
protected GetDependentRelatedEntities ( ) : List
Результат List

GetDependingRelatedEntities() защищенный Метод

Gets a collection of related entities referenced by this entity which depend on this entity (this entity is the PK side of their FK fields). These entities will have to be persisted after this entity during a recursive save.
protected GetDependingRelatedEntities ( ) : List
Результат List

GetFromMemberEntityCollectionsQueue() защищенный Метод

Gets the member collections queue from the queue (base first)
protected GetFromMemberEntityCollectionsQueue ( Queue collectionsQueue ) : void
collectionsQueue Queue The collections queue.
Результат void

GetMemberEntityCollections() защищенный Метод

Gets a list of all entity collections stored as member variables in this entity. Only 1:n related collections are returned.
protected GetMemberEntityCollections ( ) : List
Результат List

GetRelatedData() защищенный Метод

Gets all related data objects, stored by name. The name is the field name mapped onto the relation for that particular data element.
protected GetRelatedData ( ) : object>.Dictionary
Результат object>.Dictionary

GetRelationInfoAspnetApplication() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'AspnetApplications' to this entity.
public GetRelationInfoAspnetApplication ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoAspnetUser() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'AspnetUsers' to this entity.
public GetRelationInfoAspnetUser ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoBlog() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'Blog' to this entity.
public GetRelationInfoBlog ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoBlogPost() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'BlogPost' to this entity.
public GetRelationInfoBlogPost ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoCalendarEvent() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'CalendarEvent' to this entity.
public GetRelationInfoCalendarEvent ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoCampaign() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'Campaign' to this entity.
public GetRelationInfoCampaign ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoDocument() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'Document' to this entity.
public GetRelationInfoDocument ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoListItem() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'ListItem' to this entity.
public GetRelationInfoListItem ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoNewsCategory() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'NewsCategory' to this entity.
public GetRelationInfoNewsCategory ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoNewsItem() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'NewsItem' to this entity.
public GetRelationInfoNewsItem ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoNewsletter() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'Newsletter' to this entity.
public GetRelationInfoNewsletter ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoPage() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'Page' to this entity.
public GetRelationInfoPage ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoPoll() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'Poll' to this entity.
public GetRelationInfoPoll ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoSnAlbum() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnAlbum' to this entity.
public GetRelationInfoSnAlbum ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoSnComments() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entities of type 'SnComment' to this entity.
public GetRelationInfoSnComments ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoSnDiscussionBoard() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnDiscussionBoard' to this entity.
public GetRelationInfoSnDiscussionBoard ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoSnDiscussionMessage() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnDiscussionMessage' to this entity.
public GetRelationInfoSnDiscussionMessage ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoSnDiscussionTopic() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnDiscussionTopic' to this entity.
public GetRelationInfoSnDiscussionTopic ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoSnFile() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnFile' to this entity.
public GetRelationInfoSnFile ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoSnFiles() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entities of type 'SnFile' to this entity.
public GetRelationInfoSnFiles ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoSnGroup() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnGroup' to this entity.
public GetRelationInfoSnGroup ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoSnMessage() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnMessage' to this entity.
public GetRelationInfoSnMessage ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoSnNote() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entity of type 'SnNote' to this entity.
public GetRelationInfoSnNote ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoSnRatings() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entities of type 'SnRating' to this entity.
public GetRelationInfoSnRatings ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoSnSubscribers() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entities of type 'SnSubscriber' to this entity.
public GetRelationInfoSnSubscribers ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationInfoSnTags() публичный Метод

Creates a new IRelationPredicateBucket object which contains the predicate expression and relation collection to fetch the related entities of type 'SnTag' to this entity.
public GetRelationInfoSnTags ( ) : IRelationPredicateBucket
Результат IRelationPredicateBucket

GetRelationsForFieldOfType() защищенный Метод

Gets the relation objects which represent the relation the fieldName specified is mapped on.
protected GetRelationsForFieldOfType ( string fieldName ) : RelationCollection
fieldName string Name of the field mapped onto the relation of which the relation objects have to be obtained.
Результат RelationCollection

HasPopulatedMemberEntityCollections() защищенный Метод

Determines whether the entity has populated member collections
protected HasPopulatedMemberEntityCollections ( ) : bool
Результат bool

PerformDesyncSetupFKFieldChange() защищенный Метод

Performs the desync setup when an FK field has been changed. The entity referenced based on the FK field will be dereferenced and sync info will be removed.
protected PerformDesyncSetupFKFieldChange ( int fieldIndex ) : void
fieldIndex int The fieldindex.
Результат void

SetRelatedEntity() защищенный Метод

Sets the internal parameter related to the fieldname passed to the instance relatedEntity.
protected SetRelatedEntity ( IEntityCore relatedEntity, string fieldName ) : void
relatedEntity IEntityCore Instance to set as the related entity of type entityType
fieldName string Name of field mapped onto the relation which resolves in the instance relatedEntity
Результат void

SetRelatedEntityProperty() защищенный Метод

Sets the related entity property to the entity specified. If the property is a collection, it will add the entity specified to that collection.
Used by prefetch path logic.
protected SetRelatedEntityProperty ( string propertyName, IEntityCore entity ) : void
propertyName string Name of the property.
entity IEntityCore Entity to set as an related entity
Результат void

SnRelationshipEntity() публичный Метод

CTor
For framework usage.
public SnRelationshipEntity ( IEntityFields2 fields ) : System.Runtime.Serialization
fields IEntityFields2 Fields object to set as the fields for this entity.
Результат System.Runtime.Serialization

SnRelationshipEntity() публичный Метод

CTor
public SnRelationshipEntity ( IValidator validator ) : System.Runtime.Serialization
validator IValidator The custom validator object for this SnRelationshipEntity
Результат System.Runtime.Serialization

SnRelationshipEntity() публичный Метод

CTor
The entity is not fetched by this constructor. Use a DataAccessAdapter for that.
public SnRelationshipEntity ( System id ) : System.Runtime.Serialization
id System PK value for SnRelationship which data should be fetched into this SnRelationship object
Результат System.Runtime.Serialization

SnRelationshipEntity() публичный Метод

CTor
The entity is not fetched by this constructor. Use a DataAccessAdapter for that.
public SnRelationshipEntity ( System id, IValidator validator ) : System.Runtime.Serialization
id System PK value for SnRelationship which data should be fetched into this SnRelationship object
validator IValidator The custom validator object for this SnRelationshipEntity
Результат System.Runtime.Serialization

UnsetRelatedEntity() защищенный Метод

Unsets the internal parameter related to the fieldname passed to the instance relatedEntity. Reverses the actions taken by SetRelatedEntity()
protected UnsetRelatedEntity ( IEntityCore relatedEntity, string fieldName, bool signalRelatedEntityManyToOne ) : void
relatedEntity IEntityCore Instance to unset as the related entity of type entityType
fieldName string Name of field mapped onto the relation which resolves in the instance relatedEntity
signalRelatedEntityManyToOne bool if set to true it will notify the manytoone side, if applicable.
Результат void