/// <summary> /// This is internal API and is not intended for use by Linq To DB applications. /// It may change or be removed without further notice. /// </summary> public static SqlField?GetIdentityField(this SqlStatement statement) { return(statement.GetInsertClause()?.Into !.GetIdentityField()); }