C# 클래스 EFLinqAnalyzer.EFCodeFirstClassInfo

파일 보기 프로젝트 열기: jumpinjackie/roslyn-ef-linq-analyzer 1 사용 예제들

공개 메소드들

메소드 설명
HasCollectionNavigationProperties ( ) : bool

Returns true if this class has any collection navigation properties

HasProperty ( string name ) : bool

Returns true if this class has a property of the given name

HasReadOnlyProperties ( ) : bool

Returns true if this class has any read-only properties

IsCollectionNavigationProperty ( string propertyName ) : bool

Returns true if the given property is a collection navigation property

IsExplicitlyUnmapped ( string name ) : bool

Returns true if the given property name has a NotMappedAttribute applied

IsReadOnly ( string name ) : bool

Returns true if the given property name is read-only

IsUnmapped ( string name ) : bool

Returns true if the given property has the NotMappedAttribute applied

ToString ( ) : string

비공개 메소드들

메소드 설명
AddProperties ( IEnumerable symbols, Action regCallback ) : void
EFCodeFirstClassInfo ( INamedTypeSymbol clsType ) : Microsoft.CodeAnalysis
IsValidCollectionType ( string metadataName ) : bool

메소드 상세

HasCollectionNavigationProperties() 공개 메소드

Returns true if this class has any collection navigation properties
public HasCollectionNavigationProperties ( ) : bool
리턴 bool

HasProperty() 공개 메소드

Returns true if this class has a property of the given name
public HasProperty ( string name ) : bool
name string
리턴 bool

HasReadOnlyProperties() 공개 메소드

Returns true if this class has any read-only properties
public HasReadOnlyProperties ( ) : bool
리턴 bool

IsCollectionNavigationProperty() 공개 메소드

Returns true if the given property is a collection navigation property
public IsCollectionNavigationProperty ( string propertyName ) : bool
propertyName string
리턴 bool

IsExplicitlyUnmapped() 공개 메소드

Returns true if the given property name has a NotMappedAttribute applied
public IsExplicitlyUnmapped ( string name ) : bool
name string
리턴 bool

IsReadOnly() 공개 메소드

Returns true if the given property name is read-only
public IsReadOnly ( string name ) : bool
name string
리턴 bool

IsUnmapped() 공개 메소드

Returns true if the given property has the NotMappedAttribute applied
public IsUnmapped ( string name ) : bool
name string
리턴 bool

ToString() 공개 메소드

public ToString ( ) : string
리턴 string