// This is NOT how it works in CK.SqlServer.Setup.Engine: StObjConstruct is used.
 static void ConfigureByDirectSetProperties(IActivityMonitor monitor, IStObjMutableItem o, SqlDatabase db)
 {
     if (db.IsDefaultDatabase)
     {
         o.SetDirectPropertyValue(monitor, nameof(SqlDatabase.ConnectionString), "The default connection string.", sourceDescription: "By configurator.");
     }
     else if (db.Name == "histo")
     {
         o.SetDirectPropertyValue(monitor, nameof(SqlDatabase.ConnectionString), "The histo connection string.", sourceDescription: "By configurator.");
         o.SetDirectPropertyValue(monitor, nameof(SqlDatabase.HasCKCore), true, sourceDescription: "By configurator.");
         o.SetDirectPropertyValue(monitor, nameof(SqlDatabase.UseSnapshotIsolation), true, sourceDescription: "By configurator.");
     }
     else
     {
         monitor.Warn($"Unable to find configuration for Database named '{db.Name}' of type {db.GetType()}. Its ConnectionString will be null.");
     }
 }
 public void Configure(IActivityMonitor monitor, IStObjMutableItem o)
 {
     if (o.ClassType == typeof(SimpleObjectDirect))
     {
         o.SetDirectPropertyValue(monitor, "OneIntValue", 42, "ConfiguratorOneIntValueSetTo42");
     }
     if (o.ClassType == typeof(SimpleObjectAmbient))
     {
         o.SetAmbientPropertyValue(monitor, "OneIntValue", 42, "ConfiguratorOneIntValueSetTo42");
     }
 }
 public void Configure(IActivityMonitor monitor, IStObjMutableItem o)
 {
     o.SetDirectPropertyValue(monitor, PropertyName, PropertyValue, "DirectPropertySetAttribute");
 }