Rename ConcurrencyToken to Concurrency

This commit is contained in:
2020-05-13 19:54:41 +00:00
parent 6a9984720d
commit 539d590ce8
96 changed files with 144 additions and 144 deletions

View File

@@ -82,7 +82,7 @@ namespace AyaNova.Models
{
//Any object that has a concurrencytoken field
//set it up to work properly with PostgreSQL
if (property.Name == "ConcurrencyToken")
if (property.Name == "Concurrency")
{
property.SetColumnName("xmin");
property.SetColumnType("xid");

View File

@@ -10,7 +10,7 @@ namespace AyaNova.Models
public class Contract
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class Customer
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -7,7 +7,7 @@ namespace AyaNova.Models
public class DataListView
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public long UserId { get; set; }//only relevant if non-public for fetching either in list or single (public true OR userid matches)

View File

@@ -11,7 +11,7 @@ namespace AyaNova.Models
public class Event
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
public DateTime Created { get; set; }
[Required]
public long UserId { get; set; }

View File

@@ -8,7 +8,7 @@ namespace AyaNova.Models
public class FileAttachment
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
//-----------------------------------------

View File

@@ -17,7 +17,7 @@ namespace AyaNova.Models
public class FormCustom
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required, MaxLength(255)]
public string FormKey { get; set; }//max 255 characters ascii set

View File

@@ -6,7 +6,7 @@ namespace AyaNova.Models
public class GlobalBizSettings
{
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 Concurrency { get; set; }
//Global settings
//Picklist and other searches override the normal case insensitive value

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class HeadOffice
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class LoanUnit
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -15,7 +15,7 @@ namespace AyaNova.Models
[Required]
public DateTime Created { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
// [Required]
// public long O wnerId { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class PM
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public uint Serial { get; set; }

View File

@@ -11,7 +11,7 @@ namespace AyaNova.Models
public class PMItem
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class PMTemplate
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class PMTemplateItem
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class Part
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -7,7 +7,7 @@ namespace AyaNova.Models
public class PickListTemplate
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
public string Template { get; set; }//JSON fragment of picklist template

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class Project
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class PurchaseOrder
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -11,7 +11,7 @@ namespace AyaNova.Models
public class Quote
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public uint Serial { get; set; }

View File

@@ -11,7 +11,7 @@ namespace AyaNova.Models
public class QuoteItem
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class QuoteTemplate
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class QuoteTemplateItem
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -6,7 +6,7 @@ namespace AyaNova.Models
public class SearchDictionary
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required, MaxLength(255)]
public string Word { get; set; }//max 255 characters ascii set

View File

@@ -8,7 +8,7 @@ namespace AyaNova.Models
public class SearchKey
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]

View File

@@ -6,7 +6,7 @@ namespace AyaNova.Models
public class Tag
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required, MaxLength(255)]
public string Name { get; set; }//max 255 characters

View File

@@ -9,7 +9,7 @@ namespace AyaNova.Models
public class Translation
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class TranslationItem
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Key { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class Unit
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class UnitModel
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -13,7 +13,7 @@ namespace AyaNova.Models
Tags = new List<string>();
}
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
public bool Active { get; set; }
[Required, MaxLength(255)]
public string Name { get; set; }
@@ -32,7 +32,7 @@ namespace AyaNova.Models
public class User
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public bool Active { get; set; }

View File

@@ -6,7 +6,7 @@ namespace AyaNova.Models
public class UserOptions
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public long TranslationId { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class Vendor
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class Widget
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -15,7 +15,7 @@ namespace AyaNova.Models
}
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public uint Serial { get; set; }
@@ -38,7 +38,7 @@ namespace AyaNova.Models
}
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public uint Serial { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
Tags = new List<string>();
}
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
public string Notes { get; set; }
public string Wiki { get; set; }
public string CustomFields { get; set; }
@@ -40,7 +40,7 @@ namespace AyaNova.Models
Units = new List<WorkOrderItemUnit>();
}
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
public string Notes { get; set; }
public string Wiki { get; set; }
public string CustomFields { get; set; }

View File

@@ -11,7 +11,7 @@ namespace AyaNova.Models
Tags = new List<string>();
}
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
public string Notes { get; set; }
public string CustomFields { get; set; }
public List<string> Tags { get; set; }

View File

@@ -11,7 +11,7 @@ namespace AyaNova.Models
Tags = new List<string>();
}
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
public string Notes { get; set; }
public string CustomFields { get; set; }
public List<string> Tags { get; set; }

View File

@@ -11,7 +11,7 @@ namespace AyaNova.Models
Tags = new List<string>();
}
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
public string Notes { get; set; }
public string CustomFields { get; set; }
public List<string> Tags { get; set; }

View File

@@ -11,7 +11,7 @@ namespace AyaNova.Models
Tags = new List<string>();
}
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
public string Notes { get; set; }
public string CustomFields { get; set; }
public List<string> Tags { get; set; }

View File

@@ -11,7 +11,7 @@ namespace AyaNova.Models
Tags = new List<string>();
}
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
public string Notes { get; set; }
public string CustomFields { get; set; }
public List<string> Tags { get; set; }

View File

@@ -11,7 +11,7 @@ namespace AyaNova.Models
Tags = new List<string>();
}
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
public string Notes { get; set; }
public string CustomFields { get; set; }
public List<string> Tags { get; set; }

View File

@@ -11,7 +11,7 @@ namespace AyaNova.Models
Tags = new List<string>();
}
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
public string Notes { get; set; }
public string CustomFields { get; set; }
public List<string> Tags { get; set; }

View File

@@ -11,7 +11,7 @@ namespace AyaNova.Models
Tags = new List<string>();
}
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
public string Notes { get; set; }
public string CustomFields { get; set; }
public List<string> Tags { get; set; }

View File

@@ -11,7 +11,7 @@ namespace AyaNova.Models
Tags = new List<string>();
}
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
public string Notes { get; set; }
public string CustomFields { get; set; }
public List<string> Tags { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class WorkOrderTemplate
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -12,7 +12,7 @@ namespace AyaNova.Models
public class WorkOrderTemplateItem
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }

View File

@@ -5,7 +5,7 @@ namespace AyaNova.Models
{
public long Id { get; set; }
public string NewText { get; set; }
public uint ConcurrencyToken { get; set; }
public uint Concurrency { get; set; }
}
}