llblgenpro

    0熱度

    1回答

    我有一個簡單的實體 public Employee { public int Id {get; set;} public string Name {get; set;} public int ManagerId {get; set;} } 然後我有一個LLBLGEN查詢 var employeeQuery = qf.Create()

    0熱度

    1回答

    是否可以使用SQL Server CE .sdf數據庫文件在LLBL Gen Pro 3.1中生成類?我知道在LLBL v2中是這樣,但在v3中,在選擇數據庫類型時沒有這種選項。 是否有解決此問題的一些解決方法?

    1熱度

    1回答

    下面的查詢結果在異常: 「無法轉換類型‘System.Linq.Expressions.TypedConstantExpression’的目的爲類型‘SD.LLBLGen.Pro.LinqSupportClasses.ExpressionClasses.SetExpression’。」。 可能是什麼問題? return (from ubt in meta.TableUbt join t

    0熱度

    1回答

    我有一個表單,需要從我用LLBLGen DataAccessAdapter訪問的數據庫填充下拉(文本和值)。 我正在使用Telerik,如果這提供了任何其他有用的信息或選項。 有沒有辦法做到這一點一般,這樣我可以簡單地調用類似: DropDown.DataSource = GetEntityCollection<OrderEntity>(); 或 DropDown.DataSource = G

    0熱度

    1回答

    我想用LLBL Gen Pro查詢數據庫中的黑色空格。 某些在數據庫中的值爲空(不爲空)。 有人能告訴我我該怎麼做嗎? 我嘗試了一些方法,但沒有一個能夠正常工作。 filter.AddWithAnd(RecipeFields.FeaturedItem % ""); //way 1 filter.AddWithAnd(RecipeFields.FeaturedItem == String.emp

    0熱度

    1回答

    我有LLBLGEN沒有經驗。不過,我工作的公司要求我用它來做一些事情。他們已經開始了我離開這個示例代碼 var products = new ProductTypedList(); using (var adapter = new DataAccessAdapter(_Config.ProductionConnectionString)) { var testSkn

    0熱度

    1回答

    你好,這是我的操作方法 public ActionResult Welcome(string name, int numTimes=1) { var customerEntityColl = new EntityCollection(new CustomerEntityFactory()); var customerEntity = new CustomerEntity(1)

    0熱度

    1回答

    我是LLBL gen pro中的新成員,我必須使用LLBL gen pro編寫子查詢,但是我沒有得到任何有關如何編寫它的示例。 這是我必須寫的查詢,我知道如何定義字段,關係和謂詞表達式。 select UserId, TransactionId from UserTransaction where TransactionId in ( select MaxId as TransactionI

    0熱度

    1回答

    我從Kendo網格導出數據。控制器中的代碼在foreach循環中發生錯誤。 ERROR MESSAGE -InvalidCastException- {"Unable to cast object of type '<>f__AnonymousType2`6[System.DateTime,System.String,System.Int32,System.String,System.Str

    0熱度

    1回答

    我使用LLBLGen適配器模型返回結果。使用斷點是因爲我無法讓他們填充劍道網格,我可以看到他們都回來了。不過,我只需要返回具有昨天和之前日期屬性的結果。我並不熟悉使用kendo網格和LLBL適配器。其他大多數示例都使用實體框架。這是我到目前爲止。沒有錯誤消息,因爲我被困在如何設置過濾器? 控制器 public ActionResult BundleStatus() { ret