Skip to main content

Posts

Showing posts from July 26, 2020

Manual Button i datatable jquery

    {                           data: null,                           name: "Action",                           title: "Action",                           orderable: false,                           render: function (row) {                               return GetAction(row);                           },                           className: "dt-center actioncell prrow vtop"                     ...

3 table join in lambda expresion

       SWAEntities Db = new SWAEntities();             Expression<Func<Wallet, bool>> whereClause = AdminBuildDynamicWhereClauseTransit(Db, columns, createdby);             var result =Db.SW_Wallet.Join(Db.NLP_RegistrationSW, w=>w.CreatedBy , t=>t.ID , (w,t)=>new {wallet=w, trader=t })                 .Join(Db.SW_OrgPdLink , x=>x.trader.ID , pd=>pd.OrgId ,(x,pd)=>new {Pdacc=pd, x.wallet , x.trader })                .Where(m=>m.wallet.CreatedBy == createdby && (m.wallet.Isdeleted == false ||m.wallet.Isdeleted == null))                 .Select(m => new                 {                     m.wallet.Status,             ...