EntitySqlException.Line Property

 

Gets the approximate line number where the error occurred.

Namespace:   System.Data
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public int Line { get; }

Property Value

Type: System.Int32

An integer that describes the line number where the error occurred.

.NET Framework
Available since 3.5
Return to top
Show: