DevForce Help Reference
LogTraceString Property (EdmKeyElement)


Gets or sets whether to log the SQL from Entity Framework queries to the log file.
Syntax
'Declaration
 
<DescriptionAttribute("Whether to log the generated SQL from Entity Framework queries")>
<XmlAttributeAttribute("logTraceString")>
<DefaultValueAttribute()>
Public Property LogTraceString As Boolean
'Usage
 
Dim instance As EdmKeyElement
Dim value As Boolean
 
instance.LogTraceString = value
 
value = instance.LogTraceString
[Description("Whether to log the generated SQL from Entity Framework queries")]
[XmlAttribute("logTraceString")]
[DefaultValue()]
public bool LogTraceString {get; set;}
Remarks
There may be performance penalties when tracing is turned on, so be sure to turn this option off when not needed. Also see the LoggingElement.ShouldLogSqlQueries.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EdmKeyElement Class
EdmKeyElement Members

Send Feedback