From 7ab2e3a436d327d4dd52366996c402ae7839bc8a Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Fri, 1 Dec 2023 16:10:47 +0100 Subject: [PATCH 1/6] Write shorter sentence --- 13/umbraco-cms/reference/management/models/datatype.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/13/umbraco-cms/reference/management/models/datatype.md b/13/umbraco-cms/reference/management/models/datatype.md index f724b563a76..e948d2e7386 100644 --- a/13/umbraco-cms/reference/management/models/datatype.md +++ b/13/umbraco-cms/reference/management/models/datatype.md @@ -41,7 +41,7 @@ Gets or Sets the DatabaseType as a `ValueStorageType` enum for which the DataTyp ### .Id -Returns the unique `DataType` Id as a `Int`, this ID is based on a Database identity field, and is therefore not safe to reference in code which are moved between different instances, use Key instead. +Returns the unique `DataType` Id as a `Int`. The ID, derived from a database identity field, isn't safe for code across instances; use Key instead to ensure stability during transitions. ### .Key From af731cc44128332ef7be2aafd0d03c3f2df313c7 Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Fri, 1 Dec 2023 16:12:51 +0100 Subject: [PATCH 2/6] Update v12 --- 12/umbraco-cms/reference/management/models/datatype.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12/umbraco-cms/reference/management/models/datatype.md b/12/umbraco-cms/reference/management/models/datatype.md index f724b563a76..e948d2e7386 100644 --- a/12/umbraco-cms/reference/management/models/datatype.md +++ b/12/umbraco-cms/reference/management/models/datatype.md @@ -41,7 +41,7 @@ Gets or Sets the DatabaseType as a `ValueStorageType` enum for which the DataTyp ### .Id -Returns the unique `DataType` Id as a `Int`, this ID is based on a Database identity field, and is therefore not safe to reference in code which are moved between different instances, use Key instead. +Returns the unique `DataType` Id as a `Int`. The ID, derived from a database identity field, isn't safe for code across instances; use Key instead to ensure stability during transitions. ### .Key From e3e68dec287482a95cf6be2be01dce50e57ac93f Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Fri, 1 Dec 2023 16:13:15 +0100 Subject: [PATCH 3/6] Update v11 --- 11/umbraco-cms/reference/management/models/datatype.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/11/umbraco-cms/reference/management/models/datatype.md b/11/umbraco-cms/reference/management/models/datatype.md index f724b563a76..e948d2e7386 100644 --- a/11/umbraco-cms/reference/management/models/datatype.md +++ b/11/umbraco-cms/reference/management/models/datatype.md @@ -41,7 +41,7 @@ Gets or Sets the DatabaseType as a `ValueStorageType` enum for which the DataTyp ### .Id -Returns the unique `DataType` Id as a `Int`, this ID is based on a Database identity field, and is therefore not safe to reference in code which are moved between different instances, use Key instead. +Returns the unique `DataType` Id as a `Int`. The ID, derived from a database identity field, isn't safe for code across instances; use Key instead to ensure stability during transitions. ### .Key From b0aa26cc0ab15c268017922aa228592636cf9e3b Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Fri, 1 Dec 2023 16:13:36 +0100 Subject: [PATCH 4/6] Update v10 --- 10/umbraco-cms/reference/management/models/datatype.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/10/umbraco-cms/reference/management/models/datatype.md b/10/umbraco-cms/reference/management/models/datatype.md index f724b563a76..e948d2e7386 100644 --- a/10/umbraco-cms/reference/management/models/datatype.md +++ b/10/umbraco-cms/reference/management/models/datatype.md @@ -41,7 +41,7 @@ Gets or Sets the DatabaseType as a `ValueStorageType` enum for which the DataTyp ### .Id -Returns the unique `DataType` Id as a `Int`, this ID is based on a Database identity field, and is therefore not safe to reference in code which are moved between different instances, use Key instead. +Returns the unique `DataType` Id as a `Int`. The ID, derived from a database identity field, isn't safe for code across instances; use Key instead to ensure stability during transitions. ### .Key From d7753349ba1f918fd89fe30ba77e5d16e1ea978e Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Mon, 4 Dec 2023 12:23:54 +0100 Subject: [PATCH 5/6] Update 10/umbraco-cms/reference/management/models/datatype.md Co-authored-by: Alina-Magdalena Tincas <83591955+alina-tincas@users.noreply.github.com> --- 10/umbraco-cms/reference/management/models/datatype.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/10/umbraco-cms/reference/management/models/datatype.md b/10/umbraco-cms/reference/management/models/datatype.md index e948d2e7386..28b860d0599 100644 --- a/10/umbraco-cms/reference/management/models/datatype.md +++ b/10/umbraco-cms/reference/management/models/datatype.md @@ -41,7 +41,7 @@ Gets or Sets the DatabaseType as a `ValueStorageType` enum for which the DataTyp ### .Id -Returns the unique `DataType` Id as a `Int`. The ID, derived from a database identity field, isn't safe for code across instances; use Key instead to ensure stability during transitions. +Returns the unique `DataType` ID as an `Int`. The ID, derived from a database identity field, isn't safe for code references as they are moved across instances. Therefore it's recommended to use `Key` instead. ### .Key From 5b4fa441fea8b9966717e02f4418399a0fed08fc Mon Sep 17 00:00:00 2001 From: Erik-Jan Westendorp Date: Mon, 4 Dec 2023 12:26:21 +0100 Subject: [PATCH 6/6] Update v11, 12 & 13 --- 11/umbraco-cms/reference/management/models/datatype.md | 2 +- 12/umbraco-cms/reference/management/models/datatype.md | 2 +- 13/umbraco-cms/reference/management/models/datatype.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/11/umbraco-cms/reference/management/models/datatype.md b/11/umbraco-cms/reference/management/models/datatype.md index e948d2e7386..28b860d0599 100644 --- a/11/umbraco-cms/reference/management/models/datatype.md +++ b/11/umbraco-cms/reference/management/models/datatype.md @@ -41,7 +41,7 @@ Gets or Sets the DatabaseType as a `ValueStorageType` enum for which the DataTyp ### .Id -Returns the unique `DataType` Id as a `Int`. The ID, derived from a database identity field, isn't safe for code across instances; use Key instead to ensure stability during transitions. +Returns the unique `DataType` ID as an `Int`. The ID, derived from a database identity field, isn't safe for code references as they are moved across instances. Therefore it's recommended to use `Key` instead. ### .Key diff --git a/12/umbraco-cms/reference/management/models/datatype.md b/12/umbraco-cms/reference/management/models/datatype.md index e948d2e7386..28b860d0599 100644 --- a/12/umbraco-cms/reference/management/models/datatype.md +++ b/12/umbraco-cms/reference/management/models/datatype.md @@ -41,7 +41,7 @@ Gets or Sets the DatabaseType as a `ValueStorageType` enum for which the DataTyp ### .Id -Returns the unique `DataType` Id as a `Int`. The ID, derived from a database identity field, isn't safe for code across instances; use Key instead to ensure stability during transitions. +Returns the unique `DataType` ID as an `Int`. The ID, derived from a database identity field, isn't safe for code references as they are moved across instances. Therefore it's recommended to use `Key` instead. ### .Key diff --git a/13/umbraco-cms/reference/management/models/datatype.md b/13/umbraco-cms/reference/management/models/datatype.md index e948d2e7386..28b860d0599 100644 --- a/13/umbraco-cms/reference/management/models/datatype.md +++ b/13/umbraco-cms/reference/management/models/datatype.md @@ -41,7 +41,7 @@ Gets or Sets the DatabaseType as a `ValueStorageType` enum for which the DataTyp ### .Id -Returns the unique `DataType` Id as a `Int`. The ID, derived from a database identity field, isn't safe for code across instances; use Key instead to ensure stability during transitions. +Returns the unique `DataType` ID as an `Int`. The ID, derived from a database identity field, isn't safe for code references as they are moved across instances. Therefore it's recommended to use `Key` instead. ### .Key