///////////////////////////////////////////////////////////////
// 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:21 PM
// Code is generated using templates: SD.TemplateBindings.SharedTemplates.NET20
// Templates vendor: Solutions Design.
// Templates version:
//////////////////////////////////////////////////////////////
using System;
using System.ComponentModel;
using System.Collections.Generic;
#if !CF
using System.Runtime.Serialization;
#endif
using System.Data;
using System.Xml.Serialization;
using DataFeedFrameworkDAL;
using DataFeedFrameworkDAL.FactoryClasses;
using DataFeedFrameworkDAL.DaoClasses;
using DataFeedFrameworkDAL.RelationClasses;
using DataFeedFrameworkDAL.HelperClasses;
using DataFeedFrameworkDAL.CollectionClasses;
using SD.LLBLGen.Pro.ORMSupportClasses;
namespace DataFeedFrameworkDAL.EntityClasses
{
// __LLBLGENPRO_USER_CODE_REGION_START AdditionalNamespaces
// __LLBLGENPRO_USER_CODE_REGION_END
/// Entity base class which represents the base class for the entity 'FeedCreation'.
///
///
#if CF
[SD.LLBLGen.Pro.ORMSupportClasses.Serializable]
#else
[Serializable]
#endif
public abstract partial class FeedCreationEntityBase : EntityBase, ISerializable
// __LLBLGENPRO_USER_CODE_REGION_START AdditionalInterfaces
// __LLBLGENPRO_USER_CODE_REGION_END
{
#region Class Member Declarations
private static Dictionary _customProperties;
private static Dictionary> _fieldsCustomProperties;
// __LLBLGENPRO_USER_CODE_REGION_START PrivateMembers
// __LLBLGENPRO_USER_CODE_REGION_END
#endregion
/// Static CTor for setting up custom property hashtables. Is executed before the first instance of this entity class or derived classes is constructed.
static FeedCreationEntityBase()
{
SetupCustomPropertyHashtables();
}
/// CTor
public FeedCreationEntityBase()
{
InitClassEmpty(CreateValidator());
}
/// CTor
/// PK value for FeedCreation which data should be fetched into this FeedCreation object
public FeedCreationEntityBase(System.Int32 feedCreationId)
{
InitClassFetch(feedCreationId, CreateValidator(), null);
}
/// CTor
/// PK value for FeedCreation which data should be fetched into this FeedCreation object
/// the PrefetchPath which defines the graph of objects to fetch as well
public FeedCreationEntityBase(System.Int32 feedCreationId, IPrefetchPath prefetchPathToUse)
{
InitClassFetch(feedCreationId, CreateValidator(), prefetchPathToUse);
}
/// CTor
/// PK value for FeedCreation which data should be fetched into this FeedCreation object
/// The custom validator object for this FeedCreationEntity
public FeedCreationEntityBase(System.Int32 feedCreationId, IValidator validator)
{
InitClassFetch(feedCreationId, validator, null);
}
/// Protected CTor for deserialization
///
///
protected FeedCreationEntityBase(SerializationInfo info, StreamingContext context) : base(info, context)
{
base.FixupDeserialization(FieldInfoProviderSingleton.GetInstance(), PersistenceInfoProviderSingleton.GetInstance());
// __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
// __LLBLGENPRO_USER_CODE_REGION_END
}
/// Will perform post-ReadXml actions
protected override void PostReadXmlFixups()
{
}
/// Saves the Entity class to the persistent storage. It updates or inserts the entity, which depends if the entity was originally read from the
/// database. If the entity is new, an insert is done and the updateRestriction is ignored. If the entity is not new, the updateRestriction
/// predicate is used to create an additional where clause (it will be added with AND) for the update query. This predicate can be used for
/// concurrency checks, like checks on timestamp column values.
/// Predicate expression, meant for concurrency checks in an Update query. Will be ignored when the entity is new
/// When true, it will save all dirty objects referenced (directly or indirectly) by this entity also.
/// true if Save succeeded, false otherwise
/// When an exception is caught during the save process. The caught exception is set as the
/// inner exception. Encapsulation of database-related exceptions is necessary since these exceptions do not have a common exception framework implemented.
public override bool Save(IPredicate updateRestriction, bool recurse)
{
bool transactionStartedInThisScope = false;
Transaction transactionManager = null;
if(recurse || ((this.LLBLGenProIsInHierarchyOfType==InheritanceHierarchyType.TargetPerEntity) && this.LLBLGenProIsSubType))
{
if(!base.ParticipatesInTransaction)
{
transactionManager = new Transaction(IsolationLevel.ReadCommitted, "SaveRecursively");
transactionManager.Add(this);
transactionStartedInThisScope=true;
}
}
try
{
bool result = base.Save(updateRestriction, recurse);
if(transactionStartedInThisScope)
{
transactionManager.Commit();
}
return result;
}
catch
{
if(transactionStartedInThisScope)
{
transactionManager.Rollback();
}
throw;
}
finally
{
if(transactionStartedInThisScope)
{
transactionManager.Dispose();
}
}
}
/// ISerializable member. Does custom serialization so event handlers do not get serialized.
/// Serializes members of this entity class and uses the base class' implementation to serialize the rest.
///
///
[EditorBrowsable(EditorBrowsableState.Never)]
public override void GetObjectData(SerializationInfo info, StreamingContext context)
{
// __LLBLGENPRO_USER_CODE_REGION_START GetObjectInfo
// __LLBLGENPRO_USER_CODE_REGION_END
base.GetObjectData(info, context);
}
/// Sets the related entity property to the entity specified. If the property is a collection, it will add the entity specified to that collection.
/// Name of the property.
/// Entity to set as an related entity
/// Used by prefetch path logic.
[EditorBrowsable(EditorBrowsableState.Never)]
public override void SetRelatedEntityProperty(string propertyName, IEntity entity)
{
switch(propertyName)
{
default:
break;
}
}
/// Sets the internal parameter related to the fieldname passed to the instance relatedEntity.
/// Instance to set as the related entity of type entityType
/// Name of field mapped onto the relation which resolves in the instance relatedEntity
[EditorBrowsable(EditorBrowsableState.Never)]
public override void SetRelatedEntity(IEntity relatedEntity, string fieldName)
{
switch(fieldName)
{
default:
break;
}
}
/// Unsets the internal parameter related to the fieldname passed to the instance relatedEntity. Reverses the actions taken by SetRelatedEntity()
/// Instance to unset as the related entity of type entityType
/// Name of field mapped onto the relation which resolves in the instance relatedEntity
/// if set to true it will notify the manytoone side, if applicable.
[EditorBrowsable(EditorBrowsableState.Never)]
public override void UnsetRelatedEntity(IEntity relatedEntity, string fieldName, bool signalRelatedEntityManyToOne)
{
switch(fieldName)
{
default:
break;
}
}
/// 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.
/// Collection with 0 or more IEntity objects, referenced by this entity
public override List GetDependingRelatedEntities()
{
List toReturn = new List();
return toReturn;
}
/// 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.
/// Collection with 0 or more IEntity objects, referenced by this entity
public override List GetDependentRelatedEntities()
{
List toReturn = new List();
return toReturn;
}
/// Gets a List of all entity collections stored as member variables in this entity. The contents of the ArrayList is
/// used by the DataAccessAdapter to perform recursive saves. Only 1:n related collections are returned.
/// Collection with 0 or more IEntityCollection objects, referenced by this entity
public override List GetMemberEntityCollections()
{
List toReturn = new List();
return toReturn;
}
/// Fetches the contents of this entity from the persistent storage using the primary key.
/// PK value for FeedCreation which data should be fetched into this FeedCreation object
/// True if succeeded, false otherwise.
public bool FetchUsingPK(System.Int32 feedCreationId)
{
return FetchUsingPK(feedCreationId, null, null);
}
/// Fetches the contents of this entity from the persistent storage using the primary key.
/// PK value for FeedCreation which data should be fetched into this FeedCreation object
/// the PrefetchPath which defines the graph of objects to fetch as well
/// True if succeeded, false otherwise.
public bool FetchUsingPK(System.Int32 feedCreationId, IPrefetchPath prefetchPathToUse)
{
return FetchUsingPK(feedCreationId, prefetchPathToUse, null);
}
/// Fetches the contents of this entity from the persistent storage using the primary key.
/// PK value for FeedCreation which data should be fetched into this FeedCreation object
/// the PrefetchPath which defines the graph of objects to fetch as well
/// The context to add the entity to if the fetch was succesful.
/// True if succeeded, false otherwise.
public bool FetchUsingPK(System.Int32 feedCreationId, IPrefetchPath prefetchPathToUse, Context contextToUse)
{
return Fetch(feedCreationId, prefetchPathToUse, contextToUse);
}
/// Refetches the Entity from the persistent storage. Refetch is used to re-load an Entity which is marked "Out-of-sync", due to a save action.
/// Refetching an empty Entity has no effect.
/// true if Refetch succeeded, false otherwise
public override bool Refetch()
{
return Fetch(this.FeedCreationId, null, null);
}
/// Deletes the Entity from the persistent storage. This method succeeds also when the Entity is not present.
/// Predicate expression, meant for concurrency checks in a delete query. Overrules the predicate returned by a set ConcurrencyPredicateFactory object.
/// true if Delete succeeded, false otherwise
public override bool Delete(IPredicate deleteRestriction)
{
bool transactionStartedInThisScope = false;
Transaction transactionManager = null;
if((this.LLBLGenProIsInHierarchyOfType==InheritanceHierarchyType.TargetPerEntity) && this.LLBLGenProIsSubType)
{
if(!base.ParticipatesInTransaction)
{
transactionManager = new Transaction(IsolationLevel.ReadCommitted, "DeleteEntity");
transactionManager.Add(this);
transactionStartedInThisScope=true;
}
}
try
{
OnValidateEntityBeforeDelete();
OnDelete();
IDao dao = CreateDAOInstance();
bool wasSuccesful = dao.DeleteExisting(base.Fields, base.Transaction, deleteRestriction);
if(wasSuccesful)
{
base.Delete(deleteRestriction);
}
else
{
if(deleteRestriction!=null)
{
throw new ORMConcurrencyException("The delete action of an entity failed, probably due to the set delete restriction provided. The entity which failed is enclosed.", this);
}
}
if(transactionStartedInThisScope)
{
transactionManager.Commit();
}
return wasSuccesful;
}
catch
{
if(transactionStartedInThisScope)
{
transactionManager.Rollback();
}
throw;
}
finally
{
if(transactionStartedInThisScope)
{
transactionManager.Dispose();
}
OnDeleteComplete();
}
}
/// Returns true if the original value for the field with the fieldIndex passed in, read from the persistent storage was NULL, false otherwise.
/// Should not be used for testing if the current value is NULL, use for that.
/// Index of the field to test if that field was NULL in the persistent storage
/// true if the field with the passed in index was NULL in the persistent storage, false otherwise
public bool TestOriginalFieldValueForNull(FeedCreationFieldIndex fieldIndex)
{
return base.Fields[(int)fieldIndex].IsNull;
}
/// Returns true if the current value for the field with the fieldIndex passed in represents null/not defined, false otherwise.
/// Should not be used for testing if the original value (read from the db) is NULL
/// Index of the field to test if its currentvalue is null/undefined
/// true if the field's value isn't defined yet, false otherwise
public bool TestCurrentFieldValueForNull(FeedCreationFieldIndex fieldIndex)
{
return base.CheckIfCurrentFieldValueIsNull((int)fieldIndex);
}
/// Sets the field on index fieldIndex to the new value value. Marks also the fields object as dirty.
/// Index of field to set the new value of
/// Value to set
/// If set to true, it will check if this entity is out of sync and will refetch it first if it is. Use true in normal behavior, false for framework specific code.
/// true if the value is actually set, false otherwise.
/// Dereferences a related object in an 1:1/m:1 relation if the field is an FK field and responsible for the reference of that particular related object.
/// When fieldIndex is smaller than 0 or bigger than the number of fields in the fields collection.
protected override bool SetNewFieldValue(int fieldIndex, object value, bool checkForRefetch)
{
bool toReturn = base.SetNewFieldValue (fieldIndex, value, checkForRefetch, false);
if(toReturn && Enum.IsDefined(typeof(FeedCreationFieldIndex), fieldIndex))
{
switch((FeedCreationFieldIndex)fieldIndex)
{
default:
break;
}
base.PostFieldValueSetAction(toReturn, this.Fields[fieldIndex].Name);
}
return toReturn;
}
/// Performs the insert action of a new Entity to the persistent storage.
/// true if succeeded, false otherwise
protected override bool InsertEntity()
{
FeedCreationDAO dao = (FeedCreationDAO)CreateDAOInstance();
return dao.AddNew(base.Fields, base.Transaction);
}
/// Adds the internals to the active context.
protected override void AddInternalsToContext()
{
}
/// Performs the update action of an existing Entity to the persistent storage.
/// true if succeeded, false otherwise
protected override bool UpdateEntity()
{
FeedCreationDAO dao = (FeedCreationDAO)CreateDAOInstance();
return dao.UpdateExisting(base.Fields, base.Transaction);
}
/// Performs the update action of an existing Entity to the persistent storage.
/// Predicate expression, meant for concurrency checks in an Update query
/// true if succeeded, false otherwise
protected override bool UpdateEntity(IPredicate updateRestriction)
{
FeedCreationDAO dao = (FeedCreationDAO)CreateDAOInstance();
return dao.UpdateExisting(base.Fields, base.Transaction, updateRestriction);
}
/// Initializes the class with empty data, as if it is a new Entity.
/// Validator to use.
protected virtual void InitClassEmpty(IValidator validatorToUse)
{
OnInitializing();
base.Fields = CreateFields();
base.IsNew=true;
base.Validator = validatorToUse;
InitClassMembers();
// __LLBLGENPRO_USER_CODE_REGION_START InitClassEmpty
// __LLBLGENPRO_USER_CODE_REGION_END
OnInitialized();
}
/// Creates entity fields object for this entity. Used in constructor to setup this entity in a polymorphic scenario.
protected virtual IEntityFields CreateFields()
{
return EntityFieldsFactory.CreateEntityFieldsObject(DataFeedFrameworkDAL.EntityType.FeedCreationEntity);
}
/// Initializes the the entity and fetches the data related to the entity in this entity.
/// PK value for FeedCreation which data should be fetched into this FeedCreation object
/// The validator object for this FeedCreationEntity
/// the PrefetchPath which defines the graph of objects to fetch as well
protected virtual void InitClassFetch(System.Int32 feedCreationId, IValidator validator, IPrefetchPath prefetchPathToUse)
{
OnInitializing();
InitClassMembers();
base.Fields = CreateFields();
bool wasSuccesful = Fetch(feedCreationId, prefetchPathToUse, null);
base.IsNew = !wasSuccesful;
base.Validator = validator;
// __LLBLGENPRO_USER_CODE_REGION_START InitClassFetch
// __LLBLGENPRO_USER_CODE_REGION_END
OnInitialized();
}
/// Initializes the class members
private void InitClassMembers()
{
// __LLBLGENPRO_USER_CODE_REGION_START InitClassMembers
// __LLBLGENPRO_USER_CODE_REGION_END
}
#region Custom Property Hashtable Setup
/// Initializes the hashtables for the entity type and entity field custom properties.
private static void SetupCustomPropertyHashtables()
{
_customProperties = new Dictionary();
_fieldsCustomProperties = new Dictionary>();
Dictionary fieldHashtable = null;
fieldHashtable = new Dictionary();
_fieldsCustomProperties.Add("FeedCreationId", fieldHashtable);
fieldHashtable = new Dictionary();
_fieldsCustomProperties.Add("FeedCreationTitle", fieldHashtable);
fieldHashtable = new Dictionary();
_fieldsCustomProperties.Add("FeedCreationDescription", fieldHashtable);
fieldHashtable = new Dictionary();
_fieldsCustomProperties.Add("FeedCreationStatement", fieldHashtable);
fieldHashtable = new Dictionary();
_fieldsCustomProperties.Add("FeedCreationDatabase", fieldHashtable);
fieldHashtable = new Dictionary();
_fieldsCustomProperties.Add("FeedGuid", fieldHashtable);
fieldHashtable = new Dictionary();
_fieldsCustomProperties.Add("FeedAccessViaGuidOnly", fieldHashtable);
fieldHashtable = new Dictionary();
_fieldsCustomProperties.Add("FeedCreationModifiedDate", fieldHashtable);
fieldHashtable = new Dictionary();
_fieldsCustomProperties.Add("FeedCreationCreationDate", fieldHashtable);
}
#endregion
/// Fetches the entity from the persistent storage. Fetch simply reads the entity into an EntityFields object.
/// PK value for FeedCreation which data should be fetched into this FeedCreation object
/// the PrefetchPath which defines the graph of objects to fetch as well
/// The context to add the entity to if the fetch was succesful.
/// True if succeeded, false otherwise.
private bool Fetch(System.Int32 feedCreationId, IPrefetchPath prefetchPathToUse, Context contextToUse)
{
try
{
OnFetch();
IDao dao = this.CreateDAOInstance();
base.Fields[(int)FeedCreationFieldIndex.FeedCreationId].ForcedCurrentValueWrite(feedCreationId);
dao.FetchExisting(this, base.Transaction, prefetchPathToUse, contextToUse);
return (base.Fields.State == EntityState.Fetched);
}
finally
{
OnFetchComplete();
}
}
/// Creates the DAO instance for this type
///
protected override IDao CreateDAOInstance()
{
return DAOFactory.CreateFeedCreationDAO();
}
/// Creates the entity factory for this type.
///
protected override IEntityFactory CreateEntityFactory()
{
return new FeedCreationEntityFactory();
}
#region Class Property Declarations
/// The relations object holding all relations of this entity with other entity classes.
public static FeedCreationRelations Relations
{
get { return new FeedCreationRelations(); }
}
/// The custom properties for this entity type.
/// The data returned from this property should be considered read-only: it is not thread safe to alter this data at runtime.
public static Dictionary CustomProperties
{
get { return _customProperties;}
}
/// Returns the full name for this entity, which is important for the DAO to find back persistence info for this entity.
[Browsable(false), XmlIgnore]
public override string LLBLGenProEntityName
{
get { return "FeedCreationEntity";}
}
/// The custom properties for the type of this entity instance.
/// The data returned from this property should be considered read-only: it is not thread safe to alter this data at runtime.
[Browsable(false), XmlIgnore]
public virtual Dictionary CustomPropertiesOfType
{
get { return FeedCreationEntity.CustomProperties;}
}
/// The custom properties for the fields of this entity type. The returned Hashtable contains per fieldname a hashtable of name-value pairs.
/// The data returned from this property should be considered read-only: it is not thread safe to alter this data at runtime.
public static Dictionary> FieldsCustomProperties
{
get { return _fieldsCustomProperties;}
}
/// The custom properties for the fields of the type of this entity instance. The returned Hashtable contains per fieldname a hashtable of name-value pairs.
/// The data returned from this property should be considered read-only: it is not thread safe to alter this data at runtime.
[Browsable(false), XmlIgnore]
public virtual Dictionary> FieldsCustomPropertiesOfType
{
get { return FeedCreationEntity.FieldsCustomProperties;}
}
/// The FeedCreationId property of the Entity FeedCreation
///
/// Mapped on table field: "FeedCreation"."FeedCreationId"
/// Table field type characteristics (type, precision, scale, length): Int, 10, 0, 0
/// Table field behavior characteristics (is nullable, is PK, is identity): false, true, true
public virtual System.Int32 FeedCreationId
{
get
{
object valueToReturn = base.GetCurrentFieldValue((int)FeedCreationFieldIndex.FeedCreationId);
if(valueToReturn == null)
{
valueToReturn = TypeDefaultValue.GetDefaultValue(typeof(System.Int32));
}
return (System.Int32)valueToReturn;
}
set { SetNewFieldValue((int)FeedCreationFieldIndex.FeedCreationId, value); }
}
/// The FeedCreationTitle property of the Entity FeedCreation
///
/// Mapped on table field: "FeedCreation"."FeedCreationTitle"
/// Table field type characteristics (type, precision, scale, length): VarChar, 0, 0, 200
/// Table field behavior characteristics (is nullable, is PK, is identity): false, false, false
public virtual System.String FeedCreationTitle
{
get
{
object valueToReturn = base.GetCurrentFieldValue((int)FeedCreationFieldIndex.FeedCreationTitle);
if(valueToReturn == null)
{
valueToReturn = TypeDefaultValue.GetDefaultValue(typeof(System.String));
}
return (System.String)valueToReturn;
}
set { SetNewFieldValue((int)FeedCreationFieldIndex.FeedCreationTitle, value); }
}
/// The FeedCreationDescription property of the Entity FeedCreation
///
/// Mapped on table field: "FeedCreation"."FeedCreationDescription"
/// Table field type characteristics (type, precision, scale, length): VarChar, 0, 0, 2000
/// Table field behavior characteristics (is nullable, is PK, is identity): false, false, false
public virtual System.String FeedCreationDescription
{
get
{
object valueToReturn = base.GetCurrentFieldValue((int)FeedCreationFieldIndex.FeedCreationDescription);
if(valueToReturn == null)
{
valueToReturn = TypeDefaultValue.GetDefaultValue(typeof(System.String));
}
return (System.String)valueToReturn;
}
set { SetNewFieldValue((int)FeedCreationFieldIndex.FeedCreationDescription, value); }
}
/// The FeedCreationStatement property of the Entity FeedCreation
///
/// Mapped on table field: "FeedCreation"."FeedCreationStatement"
/// Table field type characteristics (type, precision, scale, length): VarChar, 0, 0, 4000
/// Table field behavior characteristics (is nullable, is PK, is identity): false, false, false
public virtual System.String FeedCreationStatement
{
get
{
object valueToReturn = base.GetCurrentFieldValue((int)FeedCreationFieldIndex.FeedCreationStatement);
if(valueToReturn == null)
{
valueToReturn = TypeDefaultValue.GetDefaultValue(typeof(System.String));
}
return (System.String)valueToReturn;
}
set { SetNewFieldValue((int)FeedCreationFieldIndex.FeedCreationStatement, value); }
}
/// The FeedCreationDatabase property of the Entity FeedCreation
///
/// Mapped on table field: "FeedCreation"."FeedCreationDatabase"
/// Table field type characteristics (type, precision, scale, length): VarChar, 0, 0, 200
/// Table field behavior characteristics (is nullable, is PK, is identity): true, false, false
public virtual System.String FeedCreationDatabase
{
get
{
object valueToReturn = base.GetCurrentFieldValue((int)FeedCreationFieldIndex.FeedCreationDatabase);
if(valueToReturn == null)
{
valueToReturn = TypeDefaultValue.GetDefaultValue(typeof(System.String));
}
return (System.String)valueToReturn;
}
set { SetNewFieldValue((int)FeedCreationFieldIndex.FeedCreationDatabase, value); }
}
/// The FeedGuid property of the Entity FeedCreation
///
/// Mapped on table field: "FeedCreation"."FeedGuid"
/// Table field type characteristics (type, precision, scale, length): Char, 0, 0, 36
/// Table field behavior characteristics (is nullable, is PK, is identity): false, false, false
public virtual System.String FeedGuid
{
get
{
object valueToReturn = base.GetCurrentFieldValue((int)FeedCreationFieldIndex.FeedGuid);
if(valueToReturn == null)
{
valueToReturn = TypeDefaultValue.GetDefaultValue(typeof(System.String));
}
return (System.String)valueToReturn;
}
set { SetNewFieldValue((int)FeedCreationFieldIndex.FeedGuid, value); }
}
/// The FeedAccessViaGuidOnly property of the Entity FeedCreation
///
/// Mapped on table field: "FeedCreation"."FeedAccessViaGuidOnly"
/// Table field type characteristics (type, precision, scale, length): Bit, 0, 0, 0
/// Table field behavior characteristics (is nullable, is PK, is identity): false, false, false
public virtual System.Boolean FeedAccessViaGuidOnly
{
get
{
object valueToReturn = base.GetCurrentFieldValue((int)FeedCreationFieldIndex.FeedAccessViaGuidOnly);
if(valueToReturn == null)
{
valueToReturn = TypeDefaultValue.GetDefaultValue(typeof(System.Boolean));
}
return (System.Boolean)valueToReturn;
}
set { SetNewFieldValue((int)FeedCreationFieldIndex.FeedAccessViaGuidOnly, value); }
}
/// The FeedCreationModifiedDate property of the Entity FeedCreation
///
/// Mapped on table field: "FeedCreation"."FeedCreationModifiedDate"
/// Table field type characteristics (type, precision, scale, length): DateTime, 0, 0, 0
/// Table field behavior characteristics (is nullable, is PK, is identity): false, false, false
public virtual System.DateTime FeedCreationModifiedDate
{
get
{
object valueToReturn = base.GetCurrentFieldValue((int)FeedCreationFieldIndex.FeedCreationModifiedDate);
if(valueToReturn == null)
{
valueToReturn = TypeDefaultValue.GetDefaultValue(typeof(System.DateTime));
}
return (System.DateTime)valueToReturn;
}
set { SetNewFieldValue((int)FeedCreationFieldIndex.FeedCreationModifiedDate, value); }
}
/// The FeedCreationCreationDate property of the Entity FeedCreation
///
/// Mapped on table field: "FeedCreation"."FeedCreationCreationDate"
/// Table field type characteristics (type, precision, scale, length): DateTime, 0, 0, 0
/// Table field behavior characteristics (is nullable, is PK, is identity): false, false, false
public virtual System.DateTime FeedCreationCreationDate
{
get
{
object valueToReturn = base.GetCurrentFieldValue((int)FeedCreationFieldIndex.FeedCreationCreationDate);
if(valueToReturn == null)
{
valueToReturn = TypeDefaultValue.GetDefaultValue(typeof(System.DateTime));
}
return (System.DateTime)valueToReturn;
}
set { SetNewFieldValue((int)FeedCreationFieldIndex.FeedCreationCreationDate, value); }
}
/// Gets or sets a value indicating whether this entity is a subtype
protected override bool LLBLGenProIsSubType
{
get { return false;}
}
/// Gets the type of the hierarchy this entity is in.
[System.ComponentModel.Browsable(false), XmlIgnore]
protected override InheritanceHierarchyType LLBLGenProIsInHierarchyOfType
{
get { return InheritanceHierarchyType.None;}
}
/// Returns the EntityType enum value for this entity.
[Browsable(false), XmlIgnore]
public override int LLBLGenProEntityTypeValue
{
get { return (int)DataFeedFrameworkDAL.EntityType.FeedCreationEntity; }
}
#endregion
#region Custom Entity code
// __LLBLGENPRO_USER_CODE_REGION_START CustomEntityCode
// __LLBLGENPRO_USER_CODE_REGION_END
#endregion
#region Included code
#endregion
}
}