Base solution for your next web application

Activities of "squaresunion"

Hello, How to do a simple sql query withing the dbContext. I mean everything we usually used do not work: dbContext.Database.SqlQuery is not available. Why is this not available? How do to it?

Regards

No matter which test project I try to run I have an exception Message: Microsoft.Data.Sqlite.SqliteException : SQLite Error 1: 'near "max": syntax error'. Can you guys help me with that? This is very annoying.

Regards

Hello, I am trying to use a primeng dropdownlist in a modal. Seriously I dont know whats going wrong there. Driving me nuts. Here is the dropdown in the component UI:

<p-dropdown [options]="squGenderList" [styleClass]="'squ-primeng-dropdowlist'" name="selectedGenderName" placeholder="Select gender" [(ngModel)]="selectedGender" optionLabel="name"></p-dropdown>

In the component .ts I am doing this

[code]squGenderList: GenderItem[] = [{ label: this.l('Male'), value: SquGenderEnum.Male }, { label: this.l('Female'), value: SquGenderEnum.Female }];
    selectedGender: GenderItem;

[/code:2g5vpp62]

But during saving if I want to retrieve the selected object doing this.selectedGender it doenst return the selected object. It only returns the selected value. what is wrong with that thing?

Hello, I create a project .NetCore Angular2 project. Was working good. I started following the step by step development guide. I added a new component. No compiling error in the project server side or client side. But I am facing the below error. I removed the component. Still that error. I cant figure out why just adding a component makes thing go that bad.

Uncaught SyntaxError: Unexpected token < at p (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:2:523) at Function.globalEval (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:2:2595) at text script (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:4:17204) at Nb (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:4:10360) at A (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:4:13887) at XMLHttpRequest.eval (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:4:16491) at XMLHttpRequest.wrapFn (polyfills.bundle.js:6489) at ZoneDelegate.webpackJsonp.543.ZoneDelegate.invokeTask (polyfills.bundle.js:5614) at Object.onInvokeTask (vendor.bundle.js:39489) at ZoneDelegate.webpackJsonp.543.ZoneDelegate.invokeTask (polyfills.bundle.js:5613) at Zone.webpackJsonp.543.Zone.runTask (polyfills.bundle.js:5413) at XMLHttpRequest.ZoneTask.invoke (polyfills.bundle.js:5667)

Showing 11 to 14 of 14 entries