public void CanAddWithIdentityOnColumn() { var expression = new InsertDataExpression(); var builder = new InsertDataExpressionBuilder(expression); builder .WithIdentity().OnColumn("Test"); expression.WithIdentity.ShouldBeTrue(); expression.IdentityColumn.ShouldBe("Test"); }
public void CanAddWithIdentity() { var expression = new InsertDataExpression(); var builder = new InsertDataExpressionBuilder(expression); builder .WithIdentity(); expression.WithIdentity.ShouldBeTrue(); }