I accomplished this using the partial class feature.
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Data.EntityClient; namespace StarfleetCommanderSecure.EF4 { public partial class SfeEntities {
public string ToTraceString(IQueryable query) { var objectQuery = (System.Data.Objects.ObjectQuery) query; return objectQuery.ToTraceString(); }
} }
No comments:
Post a Comment