Removed partial

This commit is contained in:
2020-05-08 14:16:59 +00:00
parent 8fa9e391e3
commit b3d762a250
45 changed files with 55 additions and 56 deletions

View File

@@ -7,7 +7,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class Contract public class Contract
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class Customer public class Customer
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models namespace AyaNova.Models
{ {
public partial class DataListView public class DataListView
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -8,7 +8,7 @@ namespace AyaNova.Models
/// <summary> /// <summary>
/// Event log entry /// Event log entry
/// </summary> /// </summary>
public partial class Event public class Event
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -5,7 +5,7 @@ using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models namespace AyaNova.Models
{ {
public partial class FileAttachment public class FileAttachment
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -14,7 +14,7 @@ namespace AyaNova.Models
- e.g.: [{fld:"ltkeyfieldname",hide:"true/false",required:"true/false", type:"bool"},{fld:"ltkeyfieldname",hide:"true/false",required:"true/false", type:"text"] - e.g.: [{fld:"ltkeyfieldname",hide:"true/false",required:"true/false", type:"bool"},{fld:"ltkeyfieldname",hide:"true/false",required:"true/false", type:"text"]
*/ */
public partial class FormCustom public class FormCustom
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -3,7 +3,7 @@ using Newtonsoft.Json;
namespace AyaNova.Models namespace AyaNova.Models
{ {
public partial class GlobalBizSettings public class GlobalBizSettings
{ {
public long Id { get; set; }//this is always 1 as there is only ever one single global biz object public long Id { get; set; }//this is always 1 as there is only ever one single global biz object
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class HeadOffice public class HeadOffice
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -3,7 +3,7 @@ using System;
namespace AyaNova.Models namespace AyaNova.Models
{ {
public partial class License public class License
{ {
public long Id { get; set; } public long Id { get; set; }
public string Key { get; set; } public string Key { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class LoanUnit public class LoanUnit
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -8,7 +8,7 @@ namespace AyaNova.Models
/// <summary> /// <summary>
/// Operations job /// Operations job
/// </summary> /// </summary>
public partial class OpsJob public class OpsJob
{ {
[Key] [Key]
public Guid GId { get; set; } public Guid GId { get; set; }

View File

@@ -8,7 +8,7 @@ namespace AyaNova.Models
/// <summary> /// <summary>
/// Operations job log /// Operations job log
/// </summary> /// </summary>
public partial class OpsJobLog public class OpsJobLog
{ {
[Key] [Key]
public Guid GId { get; set; } public Guid GId { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class PM public class PM
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -8,7 +8,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class PMItem public class PMItem
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class PMTemplate public class PMTemplate
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class PMTemplateItem public class PMTemplateItem
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class Part public class Part
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -4,7 +4,7 @@ namespace AyaNova.Models
{ {
//See core-picklist-autocomplete-template-system.txt for details //See core-picklist-autocomplete-template-system.txt for details
public partial class PickListTemplate public class PickListTemplate
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class Project public class Project
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class PurchaseOrder public class PurchaseOrder
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -8,7 +8,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class Quote public class Quote
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -8,7 +8,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class QuoteItem public class QuoteItem
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class QuoteTemplate public class QuoteTemplate
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class QuoteTemplateItem public class QuoteTemplateItem
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models namespace AyaNova.Models
{ {
public partial class SearchDictionary public class SearchDictionary
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -5,7 +5,7 @@ using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models namespace AyaNova.Models
{ {
public partial class SearchKey public class SearchKey
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations;
namespace AyaNova.Models namespace AyaNova.Models
{ {
public partial class Tag public class Tag
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -6,8 +6,7 @@ using Newtonsoft.Json;
namespace AyaNova.Models namespace AyaNova.Models
{ {
// [JsonObject(IsReference = true)] public class Translation
public partial class Translation
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ using Newtonsoft.Json;
namespace AyaNova.Models namespace AyaNova.Models
{ {
public partial class TranslationItem public class TranslationItem
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class Unit public class Unit
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class UnitModel public class UnitModel
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -6,7 +6,7 @@ using Newtonsoft.Json;
namespace AyaNova.Models namespace AyaNova.Models
{ {
public partial class User public class User
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -3,7 +3,7 @@ using Newtonsoft.Json;
namespace AyaNova.Models namespace AyaNova.Models
{ {
public partial class UserOptions public class UserOptions
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class Vendor public class Vendor
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, otherwise the server will call it an invalid record if the field isn't sent from client //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, otherwise the server will call it an invalid record if the field isn't sent from client
//NOTE: In Widget DB schema only name and serial are not nullable //NOTE: In Widget DB schema only name and serial are not nullable
public partial class Widget public class Widget
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -8,7 +8,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class WorkOrder public class WorkOrder
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }
@@ -17,7 +17,7 @@ namespace AyaNova.Models
public uint Serial { get; set; } public uint Serial { get; set; }
public bool Active { get; set; } public bool Active { get; set; }
public string Notes { get; set; } public string Notes { get; set; }
public string Wiki {get;set;} public string Wiki { get; set; }
public string CustomFields { get; set; } public string CustomFields { get; set; }
public List<string> Tags { get; set; } public List<string> Tags { get; set; }
@@ -27,11 +27,11 @@ namespace AyaNova.Models
public WorkOrder() public WorkOrder()
{ {
Tags = new List<string>(); Tags = new List<string>();
WorkorderItems=new List<WorkOrderItem>(); WorkorderItems = new List<WorkOrderItem>();
} }
//Not persisted business properties //Not persisted business properties
// //NOTE: this could be a common class applied to everything for common biz rule stuff // //NOTE: this could be a common class applied to everything for common biz rule stuff
// //i.e. specific rights in situations based on rules, like candelete, canedit etc // //i.e. specific rights in situations based on rules, like candelete, canedit etc
// [NotMapped] // [NotMapped]

View File

@@ -8,7 +8,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class WorkOrderItem public class WorkOrderItem
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -8,7 +8,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class WorkOrderItemLabor public class WorkOrderItemLabor
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -8,7 +8,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class WorkOrderItemPart public class WorkOrderItemPart
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class WorkOrderTemplate public class WorkOrderTemplate
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
//NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal, //NOTE: Any non required field (nullable in DB) sb nullable here, i.e. decimal? not decimal,
//otherwise the server will call it an invalid record if the field isn't sent from client //otherwise the server will call it an invalid record if the field isn't sent from client
public partial class WorkOrderTemplateItem public class WorkOrderTemplateItem
{ {
public long Id { get; set; } public long Id { get; set; }
public uint ConcurrencyToken { get; set; } public uint ConcurrencyToken { get; set; }

View File

@@ -1,7 +1,7 @@
namespace AyaNova.Models namespace AyaNova.Models
{ {
public partial class NameIdActiveItem public class NameIdActiveItem
{ {
public long Id { get; set; } public long Id { get; set; }
public string Name { get; set; } public string Name { get; set; }

View File

@@ -1,7 +1,7 @@
namespace AyaNova.Models namespace AyaNova.Models
{ {
public partial class NameIdItem public class NameIdItem
{ {
public long Id { get; set; } public long Id { get; set; }
public string Name { get; set; } public string Name { get; set; }

View File

@@ -4,7 +4,7 @@ namespace AyaNova.Models
/// <summary> /// <summary>
/// Dto object for name only parameters in routes /// Dto object for name only parameters in routes
/// </summary> /// </summary>
public partial class NameItem public class NameItem
{ {
public string Name { get; set; } public string Name { get; set; }
} }

View File

@@ -1,7 +1,7 @@
namespace AyaNova.Models namespace AyaNova.Models
{ {
public partial class NewTextIdConcurrencyTokenItem public class NewTextIdConcurrencyTokenItem
{ {
public long Id { get; set; } public long Id { get; set; }
public string NewText { get; set; } public string NewText { get; set; }