C# Class CmsData.Condition

ファイルを表示 Open project: bvcms/bvcms

Public Properties

Property Type Description
NewMatchAnyId Guid?

Private Properties

Property Type Description
Attribute string
AttributeDate DateTime?
AttributeGuid System.Guid
AttributeInt int
CheckInVisits System.Linq.Expressions.Expression
CopyFrom void
ExpressionTree System.Linq.Expressions.Expression
GetCodeIdValuePart string
GetExpression System.Linq.Expressions.Expression
HasCurrentTag System.Linq.Expressions.Expression
HasFailedEmails System.Linq.Expressions.Expression
HasMemberDocs System.Linq.Expressions.Expression
HasMyTag System.Linq.Expressions.Expression
ImportClause Condition
InOneOfMyOrgs System.Linq.Expressions.Expression
MedicalLength System.Linq.Expressions.Expression
OrgLeadersOnly System.Linq.Expressions.Expression
RecActiveOtherChurch System.Linq.Expressions.Expression
RecInterestedCoaching System.Linq.Expressions.Expression
RecentFlagAdded Expression
SavedQuery2 Expression
SetFirstPersonSameEmail void
SetIncludeDeceased void
SetParentsOf void
SetPlusParentsOf void
StatusFlag Expression
WriteAttributes void

Public Methods

Method Description
AddNewClause ( ) : Condition
AddNewClause ( QueryType type, CompareType op, object value = null ) : Condition
AddNewGroupClause ( ) : Condition
Clone ( Condition parent = null, System.Guid useGuid = null ) : Condition
CreateAllFalseGroup ( string name = null ) : Condition
CreateAllGroup ( string name = null ) : Condition
CreateNewGroupClause ( string name = null ) : Condition
DeleteClause ( ) : void
Import ( string text, string name = null, bool newGuids = false, System.Guid topguid = null ) : Condition
IncrementLastRun ( ) : void
MaxClauseOrder ( ) : int
Parse ( string s ) : Condition
Predicate ( CmsData.CMSDataContext db ) : bool>>.Expression
ReorderClauses ( ) : void
Reset ( ) : void
Save ( CMSDataContext Db, bool increment = false, string owner = null ) : void
SendToWriter ( XmlWriter w, bool newGuids = false, bool noGuids = false ) : void
SetComparisonType ( CompareType value ) : void
SetQueryType ( QueryType value ) : void
StatusFlags ( CMSDataContext db ) : IEnumerable
ToString ( ) : string
ToXml ( bool newGuids = false, bool noGuids = false ) : string
TryParse ( string s ) : object

Private Methods

Method Description
Attribute ( XElement r, string attr, string def = null ) : string
AttributeDate ( XElement r, string attr ) : DateTime?
AttributeGuid ( XElement r, string attr ) : System.Guid
AttributeInt ( XElement r, string attr ) : int
CheckInVisits ( ) : Expression
CopyFrom ( Condition from ) : void
ExpressionTree ( System.Linq.Expressions.ParameterExpression parm, CmsData.CMSDataContext Db ) : Expression
GetCodeIdValuePart ( string value, Part part ) : string
GetExpression ( System.Linq.Expressions.ParameterExpression parm, CmsData.CMSDataContext Db ) : Expression
HasCurrentTag ( ) : Expression
HasFailedEmails ( ) : Expression
HasMemberDocs ( ) : Expression
HasMyTag ( ) : Expression
ImportClause ( XElement r, Condition p, bool newGuids, System.Guid topguid ) : Condition
InOneOfMyOrgs ( ) : Expression
MedicalLength ( ) : Expression
OrgLeadersOnly ( CmsData.CMSDataContext db, System.Linq.Expressions.ParameterExpression parm ) : Expression
RecActiveOtherChurch ( ) : Expression
RecInterestedCoaching ( ) : Expression
RecentFlagAdded ( ) : Expression
SavedQuery2 ( ) : Expression
SetFirstPersonSameEmail ( CompareType op, bool tf ) : void
SetIncludeDeceased ( ) : void
SetParentsOf ( CompareType op, bool tf ) : void
SetPlusParentsOf ( CompareType op, bool tf ) : void
StatusFlag ( ) : Expression
WriteAttributes ( XmlWriter w, bool newGuids = false, bool noGuids = false ) : void

Method Details

AddNewClause() public method

public AddNewClause ( ) : Condition
return Condition

AddNewClause() public method

public AddNewClause ( QueryType type, CompareType op, object value = null ) : Condition
type QueryType
op CompareType
value object
return Condition

AddNewGroupClause() public method

public AddNewGroupClause ( ) : Condition
return Condition

Clone() public method

public Clone ( Condition parent = null, System.Guid useGuid = null ) : Condition
parent Condition
useGuid System.Guid
return Condition

CreateAllFalseGroup() public static method

public static CreateAllFalseGroup ( string name = null ) : Condition
name string
return Condition

CreateAllGroup() public static method

public static CreateAllGroup ( string name = null ) : Condition
name string
return Condition

CreateNewGroupClause() public static method

public static CreateNewGroupClause ( string name = null ) : Condition
name string
return Condition

DeleteClause() public method

public DeleteClause ( ) : void
return void

Import() public static method

public static Import ( string text, string name = null, bool newGuids = false, System.Guid topguid = null ) : Condition
text string
name string
newGuids bool
topguid System.Guid
return Condition

IncrementLastRun() public method

public IncrementLastRun ( ) : void
return void

MaxClauseOrder() public method

public MaxClauseOrder ( ) : int
return int

Parse() public static method

public static Parse ( string s ) : Condition
s string
return Condition

Predicate() public method

public Predicate ( CmsData.CMSDataContext db ) : bool>>.Expression
db CmsData.CMSDataContext
return bool>>.Expression

ReorderClauses() public method

public ReorderClauses ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

Save() public method

public Save ( CMSDataContext Db, bool increment = false, string owner = null ) : void
Db CMSDataContext
increment bool
owner string
return void

SendToWriter() public method

public SendToWriter ( XmlWriter w, bool newGuids = false, bool noGuids = false ) : void
w XmlWriter
newGuids bool
noGuids bool
return void

SetComparisonType() public method

public SetComparisonType ( CompareType value ) : void
value CompareType
return void

SetQueryType() public method

public SetQueryType ( QueryType value ) : void
value QueryType
return void

StatusFlags() public static method

public static StatusFlags ( CMSDataContext db ) : IEnumerable
db CMSDataContext
return IEnumerable

ToString() public method

public ToString ( ) : string
return string

ToXml() public method

public ToXml ( bool newGuids = false, bool noGuids = false ) : string
newGuids bool
noGuids bool
return string

TryParse() public static method

public static TryParse ( string s ) : object
s string
return object

Property Details

NewMatchAnyId public_oe property

public Guid? NewMatchAnyId
return Guid?