public void To_String() { Person2 person = null; IAlias alias = sql.Alias(() => person); Assert.Equal("Person2 AS person", alias.ToString()); }
public void To_String() { IAlias <Person> alias = sql.Alias <Person>(); Assert.Equal("Person AS person", alias.ToString()); }
public void To_String_With_Alias_Name() { IAlias <Person> alias = sql.Alias <Person>("per"); Assert.Equal("Person AS per", alias.ToString()); }
public void To_String_With_Alias_Name() { IAlias alias = sql.Alias("dbo.person", "per"); Assert.Equal("dbo.person AS per", alias.ToString()); }
public void To_String() { IAlias alias = sql.Alias("dbo.person"); Assert.Equal("dbo.person", alias.ToString()); }
public void To_String() { IAlias alias = sql.Alias("person", "per"); Assert.Equal("person AS per", alias.ToString()); }