'Left to right direction
hide circle
'avoide "." issues:
set namespaceSeparator none


skinparam class {
  BackgroundColor White
  BackgroundColor<<FN>> Yellow
  BackgroundColor<<FS>> Yellow
  BackgroundColor<<FT>> LightGray
  BackgroundColor<<IF>> Yellow
  BackgroundColor<<IS>> Yellow
  BackgroundColor<<P>> Aqua
  BackgroundColor<<PC>> Aqua
  BackgroundColor<<SN>> Yellow
  BackgroundColor<<SO>> SlateBlue
  BackgroundColor<<TF>> LightGray
  BackgroundColor<<TR>> Tomato
  BackgroundColor<<U>> White
  BackgroundColor<<V>> WhiteSmoke
  BackgroundColor<<X>> Aqua
}


entity config.fs_dwh_database_name << FN >> {
  --
}

entity config.fs_get_parameter_value << FN >> {
  --
}

entity config.ftv_dwh_database << IF >> {
  --
}

entity config.Parameter << U >> {
  * **Parameter_name** : varchar(100)
  * **sub_Parameter** : nvarchar(128)
  --
}

entity configT.spt_values << U >> {
  --
}

entity configT.type << V >> {
  **type** : nvarchar(128)
  --
}

entity configT.type_level1type_level2type << V >> {
  **type** : nvarchar(128)
  --
}

entity logs.ExecutionLog << U >> {
  --
}

entity logs.usp_ExecutionLog_insert << P >> {
  --
}

entity reference.RepoObjectSource_virtual << U >> {
  * **RepoObject_guid** : uniqueidentifier
  * **Source_RepoObject_guid** : uniqueidentifier
  --
}

entity repo.RepoObject << U >> {
  * **RepoObject_guid** : uniqueidentifier
  --
}

entity repo.RepoObject_persistence << U >> {
  * **target_RepoObject_guid** : uniqueidentifier
  --
}

entity repo.RepoObject_RequiredRepoObjectMerge << V >> {
  * **RepoObject_guid** : uniqueidentifier
  --
}

entity repo.SysObject_RepoObject_via_guid << V >> {
  --
}

entity repo.SysObject_RepoObject_via_name << V >> {
  --
}

entity repo.usp_sync_guid_RepoObject << P >> {
  --
}

entity repo_sys.ExtendedProperties << V >> {
  --
}

entity repo_sys.SysObject << V >> {
  --
}

entity repo_sys.usp_AddOrUpdateExtendedProperty << P >> {
  --
}

entity sys_dwh.columns << SN >> {
  --
}

entity sys_dwh.extended_properties << SN >> {
  --
}

entity sys_dwh.indexes << SN >> {
  --
}

entity sys_dwh.objects << SN >> {
  --
}

entity sys_dwh.parameters << SN >> {
  --
}

entity sys_dwh.schemas << SN >> {
  --
}

entity sys_dwh.sql_modules << SN >> {
  --
}

entity sys_dwh.tables << SN >> {
  --
}

config.fs_dwh_database_name <.. repo_sys.usp_AddOrUpdateExtendedProperty
config.fs_get_parameter_value <.. repo.usp_sync_guid_RepoObject
config.ftv_dwh_database <.. repo_sys.ExtendedProperties
config.Parameter <.. config.fs_dwh_database_name
config.Parameter <.. config.fs_get_parameter_value
config.Parameter <.. config.ftv_dwh_database
configT.spt_values <.. configT.type
configT.type <.. configT.type_level1type_level2type
configT.type_level1type_level2type <.. repo.usp_sync_guid_RepoObject
logs.ExecutionLog <.. logs.usp_ExecutionLog_insert
logs.usp_ExecutionLog_insert <.. repo.usp_sync_guid_RepoObject
reference.RepoObjectSource_virtual <.. repo.usp_sync_guid_RepoObject
repo.RepoObject <.. repo.SysObject_RepoObject_via_guid
repo.RepoObject <.. repo.SysObject_RepoObject_via_name
repo.RepoObject <.. repo.RepoObject_RequiredRepoObjectMerge
repo.RepoObject <.. repo.usp_sync_guid_RepoObject
repo.RepoObject_persistence <.. repo.usp_sync_guid_RepoObject
repo.RepoObject_RequiredRepoObjectMerge <.. repo.usp_sync_guid_RepoObject
repo.SysObject_RepoObject_via_guid <.. repo.usp_sync_guid_RepoObject
repo.SysObject_RepoObject_via_name <.. repo.usp_sync_guid_RepoObject
repo_sys.ExtendedProperties <.. repo_sys.SysObject
repo_sys.SysObject <.. repo.SysObject_RepoObject_via_name
repo_sys.SysObject <.. repo.usp_sync_guid_RepoObject
repo_sys.SysObject <.. repo.SysObject_RepoObject_via_guid
repo_sys.usp_AddOrUpdateExtendedProperty <.. repo.usp_sync_guid_RepoObject
sys_dwh.columns <.. repo_sys.ExtendedProperties
sys_dwh.extended_properties <.. repo_sys.ExtendedProperties
sys_dwh.indexes <.. repo_sys.ExtendedProperties
sys_dwh.objects <.. repo_sys.SysObject
sys_dwh.objects <.. repo_sys.ExtendedProperties
sys_dwh.parameters <.. repo_sys.ExtendedProperties
sys_dwh.schemas <.. repo_sys.ExtendedProperties
sys_dwh.schemas <.. repo_sys.SysObject
sys_dwh.sql_modules <.. repo_sys.SysObject
sys_dwh.tables <.. repo_sys.SysObject
