/// <summary> /// Returns if these properties are predefined in the base class. /// </summary> /// <param name="property"></param> /// <returns></returns> public static bool IsPredefinedProperty(this EntityProperty property) => IsPredefinedProperty(property.PropertyName);
/// <summary> /// Determines if a entityProperty is defined in the AggregateRootWithCompositeKey base class /// </summary> /// <param name="entityProperty"></param> /// <returns></returns> public static bool IsAlreadyDefinedInCSharpEntityBaseClasses(this EntityProperty entityProperty) => entityProperty.PropertyName.EqualsIgnoreCase("Id") || entityProperty.PropertyName.EqualsIgnoreCase("CreateDate") || entityProperty.PropertyName.EqualsIgnoreCase("LastModifiedDate");