MySql.Data.Entity.Tests.CanonicalFunctions.Length C# (CSharp) Method

Length() private method

private Length ( ) : void
return void
    public void Length()
    {
      using (testEntities context = new testEntities())
      {
        string entitySQL = "Length('abc')";
        ObjectQuery<Int32> query = context.CreateQuery<Int32>(entitySQL);
        foreach (int len in query)
          Assert.AreEqual(3, len);
      }
    }