EntitySqlException.Line Property

 

Gets the approximate line number where the error occurred

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

public int Line { get; }

Property Value

Type: System.Int32

The approximate line number where the error occurred.