/////////////////////////////////////////////////////////////// // This is generated code. ////////////////////////////////////////////////////////////// // Code is generated using LLBLGen Pro version: 2.0.0.0 // Code is generated on: Saturday, February 24, 2007 10:00:22 PM // Code is generated using templates: SD.TemplateBindings.SharedTemplates.NET20 // Templates vendor: Solutions Design. // Templates version: ////////////////////////////////////////////////////////////// using System; using SD.LLBLGen.Pro.ORMSupportClasses; namespace DataFeedFrameworkDAL.HelperClasses { // __LLBLGENPRO_USER_CODE_REGION_START AdditionalNamespaces // __LLBLGENPRO_USER_CODE_REGION_END /// /// Singleton implementation of the FieldInfoProvider. This class is the singleton wrapper through which the actual instance is retrieved. /// /// It uses a single instance of an internal class. The access isn't marked with locks as the FieldInfoProviderBase class is threadsafe. internal sealed class FieldInfoProviderSingleton { #region Class Member Declarations private static readonly IFieldInfoProvider _providerInstance = new FieldInfoProviderCore(); #endregion /// private ctor to prevent instances of this class. private FieldInfoProviderSingleton() { } /// Dummy static constructor to make sure threadsafe initialization is performed. static FieldInfoProviderSingleton() { } /// Gets the singleton instance of the FieldInfoProviderCore /// Instance of the FieldInfoProvider. public static IFieldInfoProvider GetInstance() { return _providerInstance; } } /// Actual implementation of the FieldInfoProvider. Used by singleton wrapper. internal class FieldInfoProviderCore : FieldInfoProviderBase { /// Initializes a new instance of the class. internal FieldInfoProviderCore() { Init(); } /// Method which initializes the internal datastores. private void Init() { base.InitClass( (3 + 0)); InitFeedCreationEntityInfos(); InitSnippetEntityInfos(); InitSnippetGroupEntityInfos(); base.ConstructElementFieldIndexesObjects(InheritanceInfoProviderSingleton.GetInstance()); } /// Inits FeedCreationEntity's FieldInfo objects private void InitFeedCreationEntityInfos() { base.AddElementFieldInfo("FeedCreationEntity", "FeedCreationId", typeof(System.Int32), true, false, true, false, (int)FeedCreationFieldIndex.FeedCreationId, 0, 0, 10); base.AddElementFieldInfo("FeedCreationEntity", "FeedCreationTitle", typeof(System.String), false, false, false, false, (int)FeedCreationFieldIndex.FeedCreationTitle, 200, 0, 0); base.AddElementFieldInfo("FeedCreationEntity", "FeedCreationDescription", typeof(System.String), false, false, false, false, (int)FeedCreationFieldIndex.FeedCreationDescription, 2000, 0, 0); base.AddElementFieldInfo("FeedCreationEntity", "FeedCreationStatement", typeof(System.String), false, false, false, false, (int)FeedCreationFieldIndex.FeedCreationStatement, 4000, 0, 0); base.AddElementFieldInfo("FeedCreationEntity", "FeedCreationDatabase", typeof(System.String), false, false, false, true, (int)FeedCreationFieldIndex.FeedCreationDatabase, 200, 0, 0); base.AddElementFieldInfo("FeedCreationEntity", "FeedGuid", typeof(System.String), false, false, false, false, (int)FeedCreationFieldIndex.FeedGuid, 36, 0, 0); base.AddElementFieldInfo("FeedCreationEntity", "FeedAccessViaGuidOnly", typeof(System.Boolean), false, false, false, false, (int)FeedCreationFieldIndex.FeedAccessViaGuidOnly, 0, 0, 0); base.AddElementFieldInfo("FeedCreationEntity", "FeedCreationModifiedDate", typeof(System.DateTime), false, false, false, false, (int)FeedCreationFieldIndex.FeedCreationModifiedDate, 0, 0, 0); base.AddElementFieldInfo("FeedCreationEntity", "FeedCreationCreationDate", typeof(System.DateTime), false, false, false, false, (int)FeedCreationFieldIndex.FeedCreationCreationDate, 0, 0, 0); } /// Inits SnippetEntity's FieldInfo objects private void InitSnippetEntityInfos() { base.AddElementFieldInfo("SnippetEntity", "SnippetId", typeof(System.Int32), true, false, true, false, (int)SnippetFieldIndex.SnippetId, 0, 0, 10); base.AddElementFieldInfo("SnippetEntity", "SnippetGroupId", typeof(Nullable), false, true, false, true, (int)SnippetFieldIndex.SnippetGroupId, 0, 0, 10); base.AddElementFieldInfo("SnippetEntity", "SnippetTitle", typeof(System.String), false, false, false, false, (int)SnippetFieldIndex.SnippetTitle, 200, 0, 0); base.AddElementFieldInfo("SnippetEntity", "SnippetDescription", typeof(System.String), false, false, false, true, (int)SnippetFieldIndex.SnippetDescription, 2147483647, 0, 0); base.AddElementFieldInfo("SnippetEntity", "SnippetExtra", typeof(System.String), false, false, false, true, (int)SnippetFieldIndex.SnippetExtra, 200, 0, 0); base.AddElementFieldInfo("SnippetEntity", "SnippetOrder", typeof(System.Int32), false, false, false, false, (int)SnippetFieldIndex.SnippetOrder, 0, 0, 10); base.AddElementFieldInfo("SnippetEntity", "SnippetValidBegin", typeof(Nullable), false, false, false, true, (int)SnippetFieldIndex.SnippetValidBegin, 0, 0, 0); base.AddElementFieldInfo("SnippetEntity", "SnippetValidEnd", typeof(Nullable), false, false, false, true, (int)SnippetFieldIndex.SnippetValidEnd, 0, 0, 0); base.AddElementFieldInfo("SnippetEntity", "SnippetModifiedDate", typeof(System.DateTime), false, false, false, false, (int)SnippetFieldIndex.SnippetModifiedDate, 0, 0, 0); base.AddElementFieldInfo("SnippetEntity", "SnippetCreationDate", typeof(System.DateTime), false, false, false, false, (int)SnippetFieldIndex.SnippetCreationDate, 0, 0, 0); } /// Inits SnippetGroupEntity's FieldInfo objects private void InitSnippetGroupEntityInfos() { base.AddElementFieldInfo("SnippetGroupEntity", "SnippetGroupId", typeof(System.Int32), true, false, true, false, (int)SnippetGroupFieldIndex.SnippetGroupId, 0, 0, 10); base.AddElementFieldInfo("SnippetGroupEntity", "SnippetGroupTitle", typeof(System.String), false, false, false, false, (int)SnippetGroupFieldIndex.SnippetGroupTitle, 400, 0, 0); base.AddElementFieldInfo("SnippetGroupEntity", "SnippetGroupModifiedDate", typeof(System.DateTime), false, false, false, false, (int)SnippetGroupFieldIndex.SnippetGroupModifiedDate, 0, 0, 0); base.AddElementFieldInfo("SnippetGroupEntity", "SnippetGroupCreationDate", typeof(System.DateTime), false, false, false, false, (int)SnippetGroupFieldIndex.SnippetGroupCreationDate, 0, 0, 0); } } }