User contributions for User
Jump to navigation
Jump to search
4 October 2023
- 12:2812:28, 4 October 2023 diff hist +28 Project Setup No edit summary
- 12:2612:26, 4 October 2023 diff hist +16 N Project Setup Created page with "Technology Stack"
- 12:2512:25, 4 October 2023 diff hist +36 Novus No edit summary
- 12:2112:21, 4 October 2023 diff hist +5,361 N EF Core Created page with "<strong>Update entity classes</strong> by running the below command in PowerShell. Server 10.0.2.6 is QA database. Change the database (e.g. below is using MrDairyNovus as an example). <pre>dotnet ef dbcontext scaffold "Server=10.0.2.6;Database=MrDairyNovus;User Id=novususer;Password=h55C*ZftMX1V#ZWZ;" Microsoft.EntityFrameworkCore.SqlServer --startup-project "Novus.Web" --project "Novus.Model.Entity" -f --context-dir "..\Novus.DataAccess" -c NOVUSContext -o "Entities"<..." current
- 12:1112:11, 4 October 2023 diff hist +578 N General Service Created page with "<pre>public class FooService : BaseService, IFooService { private readonly NOVUSContext dbContext; public FooService( IUnitOfWork uow, IMapper mapper, IHttpContextAccessor httpContextAccessor , NOVUSContext dbContext, ILogger<FooService> logger ) : base(uow, mapper, httpContextAccessor, logger) { this.dbContext = dbContext; } }</pre> Register the registerBusinessLayer() method in the Novus.Web.Common/RegisterLayerServices.cs class wi..." current
- 12:1012:10, 4 October 2023 diff hist +479 N General API Controller Created page with "<pre>[Authorize] [Route("api/[controller]")] [ApiController] public class FooController : BaseController { private readonly IMapper mapper; private readonly IFooService fooService; public FooController( IConfigSettings config, ILogger<FooController> logger, IMapper mapper, IFooService fooService ) : base(config, logger) { this.mapper = mapper; this.fooService = fooService; } }</pre> <strong>Return to Programming Guide</str..." current
3 October 2023
- 20:5120:51, 3 October 2023 diff hist +1 New Customer Checklist No edit summary
- 20:5120:51, 3 October 2023 diff hist +1 List of customers No edit summary current
- 20:5020:50, 3 October 2023 diff hist −46 EDI Setup and Configuration No edit summary current
- 20:5020:50, 3 October 2023 diff hist +1 EDI No edit summary current
- 20:5020:50, 3 October 2023 diff hist +1 Programming Guide No edit summary
- 20:4920:49, 3 October 2023 diff hist +1 Dapper No edit summary current
- 20:4920:49, 3 October 2023 diff hist +1 Colour No edit summary current
- 20:4920:49, 3 October 2023 diff hist +1 Checkboxes No edit summary current
- 20:4920:49, 3 October 2023 diff hist +1 Buttons No edit summary current
- 20:4820:48, 3 October 2023 diff hist +1 Async Task No edit summary current
- 20:4820:48, 3 October 2023 diff hist +1 Ajax No edit summary current
- 20:4820:48, 3 October 2023 diff hist +1 Accounting Period No edit summary current
- 20:4820:48, 3 October 2023 diff hist +1 Dates No edit summary current
- 20:4820:48, 3 October 2023 diff hist +1 Dates No edit summary
- 20:4720:47, 3 October 2023 diff hist +594 N Dates Created page with "<strong>Use the current locale's date format.<strong> Import the following import { dateFormats } from '@/common-date'. The dateFormats is an object that contains the same date format for each library such as Kendo UI (kendoUi property) and Moment.js (moment property). For example, for moment you do moment(startingDate).format(this.dateFormats.moment). <strong>Date picker vs date input.</strong> Kendo UI has these two components. Use the date picker for filters. Use th..."
- 20:4520:45, 3 October 2023 diff hist +32 N Optimistic Concurrency Control Created page with " Return to Programming Guide"
- 20:4520:45, 3 October 2023 diff hist +4 Database No edit summary current
- 20:4320:43, 3 October 2023 diff hist +24 Database No edit summary
- 20:4220:42, 3 October 2023 diff hist +23 Database No edit summary
- 20:4120:41, 3 October 2023 diff hist +254 Database No edit summary
- 20:3920:39, 3 October 2023 diff hist +1,082 N Database Created page with "<strong>See also</strong> the Optimistic Concurrency Control section. <strong>Audit fields (database).</strong> Generally, most tables should have the following audit files: <pre>created_on datetime2(7) NULL ,created_by varchar(100) NULL, ,updated_on datetime2(7) NULL, ,updated_by varchar(100) NULL</pre> Audit fields (C# code). In the Novus.Model.Entity.PartialEntities folder, create a partial class for the entity and implement the AuditFields interface e.g. public pa..."
2 October 2023
- 15:5215:52, 2 October 2023 diff hist +21 List of customers No edit summary
- 15:5215:52, 2 October 2023 diff hist +20 EDI Setup and Configuration No edit summary
- 15:5115:51, 2 October 2023 diff hist +21 EDI No edit summary
- 15:3515:35, 2 October 2023 diff hist +11 Novus No edit summary
- 15:1415:14, 2 October 2023 diff hist +15 Novus No edit summary
- 14:5314:53, 2 October 2023 diff hist +12 Dapper No edit summary
- 14:5214:52, 2 October 2023 diff hist +679 N Dapper Created page with "<strong>Example:</strong> <pre>var dbConn = dbContext.Database.GetDbConnection(); if (dbConn.State != ConnectionState.Open) { await dbConn.OpenAsync(); } return await dbConn.QueryAsync<FooDTO>(@" SELECT f.foo_id AS FooId, f.name AS Name FROM dbo.Foo f WHERE f.foo_id = @fooId ", new { fooId, });</pre> <strong>Do not hard code</strong> the database name. In the service class that extends BaseService, you can call GetDatabase("id") to get the ten..."
- 14:5014:50, 2 October 2023 diff hist +1 Colour No edit summary
- 14:4914:49, 2 October 2023 diff hist +232 N Colour Created page with "<strong>Text fields.</strong> For a yellow highlight, use lightgoldenrodyellow. <strong>Table rows.</strong> Default text color is black. For a green highlight, use #0DDD63 with white text color. For a yellow highlight, use #FAF027."
- 14:4814:48, 2 October 2023 diff hist −5 Checkboxes No edit summary
- 14:4814:48, 2 October 2023 diff hist −18 Checkboxes No edit summary
- 14:4614:46, 2 October 2023 diff hist −6 Checkboxes No edit summary
1 October 2023
- 18:2118:21, 1 October 2023 diff hist +3 Checkboxes No edit summary
- 18:2018:20, 1 October 2023 diff hist +1 Checkboxes No edit summary
- 18:2018:20, 1 October 2023 diff hist −2 Checkboxes No edit summary
- 18:1918:19, 1 October 2023 diff hist +2 Checkboxes No edit summary
- 18:1818:18, 1 October 2023 diff hist +1 Checkboxes No edit summary
- 18:1818:18, 1 October 2023 diff hist +51 Checkboxes No edit summary
- 18:1618:16, 1 October 2023 diff hist −34 Checkboxes No edit summary
- 18:1418:14, 1 October 2023 diff hist −4 Checkboxes No edit summary
- 18:1318:13, 1 October 2023 diff hist +2 Checkboxes No edit summary
- 18:1318:13, 1 October 2023 diff hist +36 Checkboxes No edit summary
- 18:1218:12, 1 October 2023 diff hist +1 Checkboxes No edit summary