Skip to content

Commit 3d13885

Browse files
Updated sample.
1 parent 1e697a4 commit 3d13885

File tree

16 files changed

+60
-60
lines changed
  • Bindind SQL database using EF and CustomAdaptor/Grid_EntityFramework
  • Bindind SQL database using EF and UrlAdaptor/Grid_EntityFramework
  • Binding Dapper using CustomAdaptor/Grid_Dapper_CustomAdaptor/grid_dapper_customadaptor.client/src/app
  • Binding Dapper using UrlAdaptor/Grid_Dapper/grid_dapper.client/src/app
  • Binding MS SQL database using CustomAdaptor/Grid_MSSQL/grid_mssql.client/src/app
  • Binding MS SQL database using UrlAdaptor/Grid_MSSQL/grid_mssql.client/src/app
  • Binding MySQL database using CustomAdaptor/Grid_MySQL/grid_mysql.client/src/app
  • Binding MySQL database using UrlAdaptor/Grid_MySQL/grid_mysql.client/src/app
  • Binding PostgreSQL database using CustomAdaptor/Grid_PostgreSQL_Custom/grid_postgresql_custom.client/src/app
  • Binding PostgreSQL database using UrlAdaptor/Grid_PostgreSQL/grid_postgresql.client/src/app
  • Binding SQLite using CustomAdaptor/Grid_SQLite/grid_sqlite.client/src/app
  • Binding SQLite using UrlAdaptor/Grid_SQLite/grid_sqlite.client/src/app

16 files changed

+60
-60
lines changed

Bindind SQL database using EF and CustomAdaptor/Grid_EntityFramework/grid_entityframework.client/src/app/app.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ export class AppComponent {
2424

2525
ngOnInit(): void {
2626
this.data = new DataManager({
27-
url: 'https://localhost:7191/api/grid',
28-
insertUrl: 'https://localhost:7191/api/grid/Insert',
29-
updateUrl: 'https://localhost:7191/api/grid/Update',
30-
removeUrl: 'https://localhost:7191/api/grid/Remove',
27+
url: 'https://localhost:7191/api/Grid',
28+
insertUrl: 'https://localhost:7191/api/Grid/Insert',
29+
updateUrl: 'https://localhost:7191/api/Grid/Update',
30+
removeUrl: 'https://localhost:7191/api/Grid/Remove',
3131
// Enable batch URL when batch editing is enabled.
32-
//batchUrl: 'https://localhost:7191/api/grid/BatchUpdate',
32+
//batchUrl: 'https://localhost:7191/api/Grid/BatchUpdate',
3333
adaptor: new CustomAdaptor()
3434
});
3535
this.employeeIDRules = { required: true, number: true };

Bindind SQL database using EF and UrlAdaptor/Grid_EntityFramework/grid_entityframework.client/src/app/app.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ export class AppComponent {
2121

2222
public ngOnInit(): void {
2323
this.data = new DataManager({
24-
url: 'https://localhost:7062/api/grid', // Replace your hosted link.
25-
insertUrl: 'https://localhost:7062/api/grid/Insert',
26-
updateUrl: 'https://localhost:7062/api/grid/Update',
27-
removeUrl: 'https://localhost:7062/api/grid/Remove',
24+
url: 'https://localhost:7062/api/Grid', // Replace your hosted link.
25+
insertUrl: 'https://localhost:7062/api/Grid/Insert',
26+
updateUrl: 'https://localhost:7062/api/Grid/Update',
27+
removeUrl: 'https://localhost:7062/api/Grid/Remove',
2828
// Enable batch URL when batch editing is enabled.
29-
//batchUrl: 'https://localhost:7062/api/grid/BatchUpdate',
29+
//batchUrl: 'https://localhost:7062/api/Grid/BatchUpdate',
3030
adaptor: new UrlAdaptor()
3131
});
3232
this.employeeIDRules = { required: true, number: true };

Binding Dapper using CustomAdaptor/Grid_Dapper_CustomAdaptor/grid_dapper_customadaptor.client/src/app/app.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ export class AppComponent {
2222

2323
public ngOnInit(): void {
2424
this.data = new DataManager({
25-
url: 'https://localhost:7117/api/grid', // Replace your hosted link.
26-
insertUrl: 'https://localhost:7117/api/grid/Insert',
27-
updateUrl: 'https://localhost:7117/api/grid/Update',
28-
removeUrl: 'https://localhost:7117/api/grid/Remove',
25+
url: 'https://localhost:7117/api/Grid', // Replace your hosted link.
26+
insertUrl: 'https://localhost:7117/api/Grid/Insert',
27+
updateUrl: 'https://localhost:7117/api/Grid/Update',
28+
removeUrl: 'https://localhost:7117/api/Grid/Remove',
2929
// Enable batch URL when batch editing is enabled.
30-
//batchUrl: 'https://localhost:7117/api/grid/BatchUpdate',
30+
//batchUrl: 'https://localhost:7117/api/Grid/BatchUpdate',
3131
adaptor: new CustomAdaptor()
3232
});
3333
this.employeeIDRules = { required: true, number: true };

Binding Dapper using UrlAdaptor/Grid_Dapper/grid_dapper.client/src/app/app.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ export class AppComponent {
2121

2222
public ngOnInit(): void {
2323
this.data = new DataManager({
24-
url: 'https://localhost:7147/api/grid', // Replace your hosted link.
25-
insertUrl: 'https://localhost:7147/api/grid/Insert',
26-
updateUrl: 'https://localhost:7147/api/grid/Update',
27-
removeUrl: 'https://localhost:7147/api/grid/Remove',
24+
url: 'https://localhost:7147/api/Grid', // Replace your hosted link.
25+
insertUrl: 'https://localhost:7147/api/Grid/Insert',
26+
updateUrl: 'https://localhost:7147/api/Grid/Update',
27+
removeUrl: 'https://localhost:7147/api/Grid/Remove',
2828
// Enable batch URL when batch editing is enabled.
29-
//batchUrl: 'https://localhost:7147/api/grid/BatchUpdate',
29+
//batchUrl: 'https://localhost:7147/api/Grid/BatchUpdate',
3030
adaptor: new UrlAdaptor()
3131
});
3232
this.employeeIDRules = { required: true, number: true };

Binding MS SQL database using CustomAdaptor/Grid_MSSQL/grid_mssql.client/src/app/app.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ export class AppComponent {
2323

2424
public ngOnInit(): void {
2525
this.data = new DataManager({
26-
url: 'https://localhost:7242/api/grid',
27-
insertUrl: 'https://localhost:7242/api/grid/Insert',
28-
updateUrl: 'https://localhost:7242/api/grid/Update',
29-
removeUrl: 'https://localhost:7242/api/grid/Remove',
26+
url: 'https://localhost:7242/api/Grid',
27+
insertUrl: 'https://localhost:7242/api/Grid/Insert',
28+
updateUrl: 'https://localhost:7242/api/Grid/Update',
29+
removeUrl: 'https://localhost:7242/api/Grid/Remove',
3030
// Enable batch URL when batch editing is enabled.
31-
//batchUrl: 'https://localhost:7242/api/grid/BatchUpdate',
31+
//batchUrl: 'https://localhost:7242/api/Grid/BatchUpdate',
3232
adaptor: new CustomAdaptor()
3333
});
3434
this.employeeIDRules = { required: true, number: true };

Binding MS SQL database using UrlAdaptor/Grid_MSSQL/grid_mssql.client/src/app/app.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ export class AppComponent {
2222

2323
public ngOnInit(): void {
2424
this.data = new DataManager({
25-
url: 'https://localhost:7150/api/grid', // Replace your hosted link.
26-
insertUrl: 'https://localhost:7150/api/grid/Insert',
27-
updateUrl: 'https://localhost:7150/api/grid/Update',
28-
removeUrl: 'https://localhost:7150/api/grid/Remove',
25+
url: 'https://localhost:7150/api/Grid', // Replace your hosted link.
26+
insertUrl: 'https://localhost:7150/api/Grid/Insert',
27+
updateUrl: 'https://localhost:7150/api/Grid/Update',
28+
removeUrl: 'https://localhost:7150/api/Grid/Remove',
2929
// Enable batch URL when batch editing is enabled.
30-
//batchUrl: 'https://localhost:7150/api/grid/BatchUpdate',
30+
//batchUrl: 'https://localhost:7150/api/Grid/BatchUpdate',
3131
adaptor: new UrlAdaptor()
3232
});
3333
this.employeeIDRules = { required: true, number: true };

Binding MySQL database using CustomAdaptor/Grid_MySQL/grid_mysql.client/src/app/app.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ export class AppComponent {
2323

2424
public ngOnInit(): void {
2525
this.data = new DataManager({
26-
url: 'https://localhost:7070/api/grid',
27-
insertUrl: 'https://localhost:7070/api/grid/Insert',
28-
updateUrl: 'https://localhost:7070/api/grid/Update',
29-
removeUrl: 'https://localhost:7070/api/grid/Remove',
26+
url: 'https://localhost:7070/api/Grid',
27+
insertUrl: 'https://localhost:7070/api/Grid/Insert',
28+
updateUrl: 'https://localhost:7070/api/Grid/Update',
29+
removeUrl: 'https://localhost:7070/api/Grid/Remove',
3030
// Enable batch URL when batch editing is enabled.
31-
//batchUrl: 'https://localhost:7070/api/grid/BatchUpdate',
31+
//batchUrl: 'https://localhost:7070/api/Grid/BatchUpdate',
3232
adaptor: new CustomAdaptor()
3333
});
3434
this.employeeIDRules = { required: true, number: true };

Binding MySQL database using UrlAdaptor/Grid_MySQL/grid_mysql.client/src/app/app.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ export class AppComponent {
2121

2222
public ngOnInit(): void {
2323
this.data = new DataManager({
24-
url: 'https://localhost:7252/api/grid', // Replace your hosted link.
25-
insertUrl: 'https://localhost:7252/api/grid/Insert',
26-
updateUrl: 'https://localhost:7252/api/grid/Update',
27-
removeUrl: 'https://localhost:7252/api/grid/Remove',
24+
url: 'https://localhost:7252/api/Grid', // Replace your hosted link.
25+
insertUrl: 'https://localhost:7252/api/Grid/Insert',
26+
updateUrl: 'https://localhost:7252/api/Grid/Update',
27+
removeUrl: 'https://localhost:7252/api/Grid/Remove',
2828
// Enable batch URL when batch editing is enabled.
29-
//batchUrl: 'https://localhost:7252/api/grid/BatchUpdate',
29+
//batchUrl: 'https://localhost:7252/api/Grid/BatchUpdate',
3030
adaptor: new UrlAdaptor()
3131
});
3232
this.employeeIDRules = { required: true, number: true };

Binding PostgreSQL database using CustomAdaptor/Grid_PostgreSQL_Custom/grid_postgresql_custom.client/src/app/app.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ export class AppComponent {
2323

2424
public ngOnInit(): void {
2525
this.data = new DataManager({
26-
url: 'https://localhost:7230/api/grid',
27-
insertUrl: 'https://localhost:7230/api/grid/Insert',
28-
updateUrl: 'https://localhost:7230/api/grid/Update',
29-
removeUrl: 'https://localhost:7230/api/grid/Remove',
26+
url: 'https://localhost:7230/api/Grid',
27+
insertUrl: 'https://localhost:7230/api/Grid/Insert',
28+
updateUrl: 'https://localhost:7230/api/Grid/Update',
29+
removeUrl: 'https://localhost:7230/api/Grid/Remove',
3030
// Enable batch URL when batch editing is enabled.
31-
//batchUrl: 'https://localhost:7230/api/grid/BatchUpdate',
31+
//batchUrl: 'https://localhost:7230/api/Grid/BatchUpdate',
3232
adaptor: new CustomAdaptor()
3333
});
3434
this.employeeIDRules = { required: true, number: true };

Binding PostgreSQL database using UrlAdaptor/Grid_PostgreSQL/grid_postgresql.client/src/app/app.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ export class AppComponent {
2121

2222
public ngOnInit(): void {
2323
this.data = new DataManager({
24-
url: 'https://localhost:7218/api/grid', // Replace your hosted link.
25-
insertUrl: 'https://localhost:7218/api/grid/Insert',
26-
updateUrl: 'https://localhost:7218/api/grid/Update',
27-
removeUrl: 'https://localhost:7218/api/grid/Remove',
24+
url: 'https://localhost:7218/api/Grid', // Replace your hosted link.
25+
insertUrl: 'https://localhost:7218/api/Grid/Insert',
26+
updateUrl: 'https://localhost:7218/api/Grid/Update',
27+
removeUrl: 'https://localhost:7218/api/Grid/Remove',
2828
// Enable batch URL when batch editing is enabled.
29-
//batchUrl: 'https://localhost:7218/api/grid/BatchUpdate',
29+
//batchUrl: 'https://localhost:7218/api/Grid/BatchUpdate',
3030
adaptor: new UrlAdaptor()
3131
});
3232
this.employeeIDRules = { required: true, number: true };

Binding SQLite using CustomAdaptor/Grid_SQLite/grid_sqlite.client/src/app/app.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ export class AppComponent {
2323

2424
public ngOnInit(): void {
2525
this.data = new DataManager({
26-
url: 'https://localhost:7168/api/grid',
27-
insertUrl: 'https://localhost:7168/api/grid/Insert',
28-
updateUrl: 'https://localhost:7168/api/grid/Update',
29-
removeUrl: 'https://localhost:7168/api/grid/Remove',
26+
url: 'https://localhost:7168/api/Grid',
27+
insertUrl: 'https://localhost:7168/api/Grid/Insert',
28+
updateUrl: 'https://localhost:7168/api/Grid/Update',
29+
removeUrl: 'https://localhost:7168/api/Grid/Remove',
3030
// Enable batch URL when batch editing is enabled.
31-
batchUrl: 'https://localhost:7168/api/grid/BatchUpdate',
31+
batchUrl: 'https://localhost:7168/api/Grid/BatchUpdate',
3232
adaptor: new CustomAdaptor()
3333
});
3434
this.employeeIDRules = { required: true, number: true };

Binding SQLite using UrlAdaptor/Grid_SQLite/grid_sqlite.client/src/app/app.component.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ export class AppComponent {
2222

2323
public ngOnInit(): void {
2424
this.data = new DataManager({
25-
url: 'https://localhost:7120/api/grid', // Replace your hosted link.
26-
insertUrl: 'https://localhost:7120/api/grid/Insert',
27-
updateUrl: 'https://localhost:7120/api/grid/Update',
28-
removeUrl: 'https://localhost:7120/api/grid/Remove',
25+
url: 'https://localhost:7120/api/Grid', // Replace your hosted link.
26+
insertUrl: 'https://localhost:7120/api/Grid/Insert',
27+
updateUrl: 'https://localhost:7120/api/Grid/Update',
28+
removeUrl: 'https://localhost:7120/api/Grid/Remove',
2929
// Enable batch URL when batch editing is enabled.
30-
batchUrl: 'https://localhost:7120/api/grid/BatchUpdate',
30+
batchUrl: 'https://localhost:7120/api/Grid/BatchUpdate',
3131
adaptor: new UrlAdaptor()
3232
});
3333
this.employeeIDRules = { required: true, number: true };

0 commit comments

Comments
 (0)