Make your own free website on Tripod.com
EPolWS
DbEPBase.cs
Home
DbMultiLanguageTable.cs
DbVariableTable.cs
DbVariableView.cs
GroupDbTable.cs
MemeDbTable.cs
ArchytasMEme
ProfileDbTable.cs
DbEPBase.cs
Page Title

EXDb97

using System;

using EXCommon;

namespace EXDb97

{

/// <summary>

/// Summary description for DbEPBase.

/// </summary>

public class CDbEPBase : CBase

{

public CDbEPBase()

{

}

public const string ATTRIBUTE_TYPE_FIELD = "AttributeType";

public const string NAME_INDEX_FIELD = "NameIndex";

public const string CREATOR_NAME_INDEX_FIELD = "CreatorNameIndex";

public const string PROFILE_ID_FIELD = "ProfileID";

public const string ATTRIBUTE_INDEX_FIELD = "AttributeIndex";

public const string VALUE_FIELD = "[Value]";

public const string NAME_FIELD = "Name";

public const string GROUP_INDEX_FIELD ="GroupIndex";

public const string GROUP_NAME_FIELD ="GroupName";

public const string VOTE_TYPE_FIELD ="VoteType";

public const string MEME_INDEX_FIELD ="MemeIndex";

public const string MEME_NAME_FIELD ="MemeName";

public const string MEME_PARENT_INDEX_FIELD ="MemeParentIndex";

public const string MEME_VOTE_INDEX_FIELD ="MemeVoteIndex";

public const string MEME_VOTE_STYLE_FIELD ="MemeVoteStyle";

public const string CLICK_TOTAL_FIELD ="ClickTotal";

public const string MEME_DESCRIPTION_INDEX_FIELD ="MemeDescriptionIndexField";

public const string LANGUAGE_FIELD = "Language";

public const string CATEGORY_INDEX_FIELD = "CategoryIndex";

public const string CATEGORY_NAME_FIELD = "CategoryName";

public const string CATEGORY_PARENT_INDEX_FIELD = "CategoryParentIndex";

public const string MEME_TABLE_NAME ="MemeTable";

public const string MEME_SOLUTION_TABLE_NAME ="MemeSolutionTable";

public const string MEME_QUESTION_TABLE_NAME ="MemeInferenceTable";

public const string MEME_AND_LOGIC_TABLE_NAME ="MemeAndLogicTable";

public const string MEME_CATEGORY_TABLE_NAME ="MemeCategoryTable";

public const string MEME_DESCRIPTION_TABLE_NAME ="MemeDescriptionTable";

public const string MEME_VOTING_TABLE_NAME ="VotingMemeTable";

public const string GROUP_LIST_TABLE_NAME ="GroupListTable";

public const string PROFILE_LIST_TABLE_NAME ="ProfileListTable";

public const string CATEGORY_TABLE_NAME ="CategoryTable";

protected const string LBY_PROFILE = "lautbry";

protected const string ARCHYTAS_PROFILE = "archytas";

public const string ACTION_CATEGORY = "Action";

public const string HUMANITY_FINALITY_CATEGORY = "HumanityFinality";

public const string RULE_CATEGORY = "Rule";

public const string PHYSICAL_RULE_CATEGORY = "PhysicalRule";

public const string SYNDICATE_CONTRACT_CATEGORY = "SyndicateContract";

protected bool bIsFoundator(string strAvatarProfile )

{

return strAvatarProfile == ARCHYTAS_PROFILE || strAvatarProfile == LBY_PROFILE;

}

protected bool bIsFoundator(int nAvatarIndex )

{

return nAvatarIndex == 0 || nAvatarIndex == 1;

}

public enum ENLanguage

{

Eng=0,

Fr=1

};

public enum ENVoteType

{

TotalConsensus =0,

OneManOneVoteAtMajority50=1,

OneManOneVoteAtMajority75=2,

OneManOneVoteAtMajority90=3,

PonderateVoteAtMajority50=11,

PonderateVoteAtMajority75=12,

PonderateVoteAtMajority90=13,

 

}

enum ENMemeVoteStyle

{

False = 0,

AgreeAndBest= 1,

AgreeButWorstDupplicate =2,

Delegate=3

}

}

}

Enter supporting content here