/// <summary>
 ///
 /// </summary>
 public override void toggleReadOnlyProps(bool IsReadOnly, CswNbtPropertySetRequestItem ItemInstance)
 {
     if (null != ItemInstance)
     {
         CswNbtObjClassRequestMaterialDispense ThisRequest = (CswNbtObjClassRequestMaterialDispense)ItemInstance;
         ThisRequest.Type.setReadOnly(value: IsReadOnly, SaveToDb: true);
         ThisRequest.Quantity.setReadOnly(value: IsReadOnly, SaveToDb: true);
         ThisRequest.Size.setReadOnly(value: IsReadOnly, SaveToDb: true);
         ThisRequest.Count.setReadOnly(value: IsReadOnly, SaveToDb: true);
         ThisRequest.Material.setReadOnly(value: IsReadOnly, SaveToDb: true);
     }
 }
 /// <summary>
 /// Cast a the Object Class as a PropertySet
 /// </summary>
 public static CswNbtPropertySetRequestItem toPropertySet(CswNbtObjClassRequestMaterialDispense ObjClass)
 {
     return(ObjClass);
 }