Exemple #1
0
		protected Flowform(
			OGen.Libraries.PresentationLayer.WinForms.FlowForms.FlowformNotifyBase notifyBase_in, 
			int numFlowformForms_in
		) {
			this.notifybase_ = notifyBase_in;
			this.myflowforms_ = new Flowform[numFlowformForms_in];
		}
Exemple #2
0
		public FlowformForm(
			OGen.Libraries.PresentationLayer.WinForms.FlowForms.FlowformFormNotifyBase notifyBase_in,
			OGen.Libraries.PresentationLayer.WinForms.FlowForms.FlowformFormNotifyBase notifyBase_aboutNext_in
		) {
			this.notifybase_ = notifyBase_in;
			this.notifybase_aboutnext_ = notifyBase_aboutNext_in;
		}
Exemple #3
0
		public void insLanguage(
			string sessionGuid_in, 
			string ip_forLogPurposes_in, 
			OGen.NTier.Kick.Libraries.DataLayer.Shared.Structures.SO_DIC__TextLanguage[] languageName_in, 
			OGen.NTier.Kick.Libraries.DataLayer.Shared.Structures.SO_DIC__TextLanguage[] existingLanguagesInNewLanguage_in, 
			out int[] errors_out
		) {
			throw new Exception("your not calling the remoting server, but the client's remoting server implementation");
		}
Exemple #4
0
		public long insObject(
			string sessionGuid_in, 
			string ip_forLogPurposes_in, 
			OGen.NTier.Kick.Libraries.DataLayer.Shared.Structures.SO_NWS_Attachment attachment_in, 
			OGen.NTier.Kick.Libraries.DataLayer.Shared.Structures.SO_DIC__TextLanguage[] tx_Name_in, 
			OGen.NTier.Kick.Libraries.DataLayer.Shared.Structures.SO_DIC__TextLanguage[] tx_Description_in, 
			bool selectIdentity_in, 
			out string guid_out, 
			out int[] errors_out
		) {
			throw new Exception("your not calling the remoting server, but the client's remoting server implementation");
		}
Exemple #5
0
		/// <remarks/>
		public void insObjectAsync(
			OGen.NTier.UTs.lib.datalayer.proxy.SO_User user_in, 
			bool selectIdentity_in, 
			string login_in
		) {
			this.insObjectAsync(
				user_in, 
				selectIdentity_in, 
				login_in, 
				null
			);
		}
Exemple #6
0
		public long insObject(
			OGen.NTier.UTs.lib.datalayer.proxy.SO_User user_in, 
			bool selectIdentity_in, 
			string login_in, 
			out bool constraintExist_out
		) {
			return businessobject_.insObject(
				user_in, 
				selectIdentity_in, 
				login_in, 
				out constraintExist_out
			);
		}
Exemple #7
0
//		#region public static XS__metadataDB Load_fromDB(...);
		public static XS__metadataDB Load_fromDB(
			OGen.NTier.Libraries.Metadata.MetadataDB.Load_fromDatabase notifyBack_in, 
			string subAppName_in,

			params DBSimpleConnectionstring[] dbConnectionParam_in
		) {
			return Load_fromDB(
				notifyBack_in, 
				subAppName_in, 

				null,
				0, 

				dbConnectionParam_in
			);
		}
		public cGenerator_Generate_s000(
			frm_Main Base_ref_, 
			OGen.Libraries.PresentationLayer.WinForms.FlowForms.FlowformNotifyBase NotifyBase_
		) : base (
			NotifyBase_, 
			0
		) {
			this.Base_ref = Base_ref_;

			this.MyForm = new frmGenerator_Generate_s000(
				this.MyForm_notifiedMe,
				this.MyForm_notifiedMe_aboutNext
			);
			this.MyForm.MdiParent = this.Base_ref;
			//this.MyForm.MaximizeBox = false;
			//this.MyForm_ref = MyForm;
		}
Exemple #9
0
		public long insObject(
			OGen.NTier.UTs.lib.datalayer.proxy.SO_User user_in, 
			bool selectIdentity_in, 
			string login_in, 
			out bool constraintExist_out
		) {
			object[] results = this.Invoke(
				"insObject", 
				new object[] {
					user_in,
					selectIdentity_in,
					login_in
				}
			);
			constraintExist_out = (bool)results[1];
			return (long)results[0];
		}
		public cManage_Views_PK_s000(
			frm_Main Base_ref_, 
			OGen.Libraries.PresentationLayer.WinForms.FlowForms.FlowformNotifyBase NotifyBase_
		) : base (
			NotifyBase_, 
			1
		) {
			this.Base_ref = Base_ref_;

			this.MyForm = new frmManage_Views_PK_s000(
				this.MyForm_notifiedMe,
				this.MyForm_notifiedMe_aboutNext
			);
			this.MyForm.MdiParent = this.Base_ref;
			//this.MyForm.MaximizeBox = false;
			//this.MyForm_ref = MyForm;

			this.MyProcess = new PO_Manage_Views_PK(this.Base_ref);
		}
		public cManage_ConfigTables_CreateOrChange_s010(
			frm_Main Base_ref_, 
			OGen.Libraries.PresentationLayer.WinForms.FlowForms.FlowformNotifyBase NotifyBase_, 
			PO_ConfigTables MyProcess_
		) : base (
			NotifyBase_, 
			1
		) {
			this.Base_ref = Base_ref_;

			this.MyForm = new frmManage_ConfigTables_CreateOrChange_s010(
				this.MyForm_notifiedMe,
				this.MyForm_notifiedMe_aboutNext
			);
			this.MyForm.MdiParent = this.Base_ref;
			//this.MyForm.MaximizeBox = false;
			//this.MyForm_ref = MyForm;

			this.MyProcess = MyProcess_;
		}
		public cTweak_Project_s000(
			frm_Main base_ref_in, 
			cTweak_Project_s000.eMode mode_in, 
			OGen.Libraries.PresentationLayer.WinForms.FlowForms.FlowformNotifyBase notifyBase_in
		) : base (
			notifyBase_in, 
			1
		) {
			this.Base_ref = base_ref_in;
			this.mode_ = mode_in;

			this.MyForm = new frmTweak_Project_s000(
				this.MyForm_notifiedMe,
				this.MyForm_notifiedMe_aboutNext, 
				mode_in
			);
			this.MyForm.MdiParent = this.Base_ref;
			//this.MyForm.MaximizeBox = false;

//			this.MyProcess = new PO_Tweak_Project(Base_ref);
		}
Exemple #13
0
		public void TableForeignKeys(
			out OGen.Dia.Libraries.Metadata.Diagram.ForeignKey[] foreignKeys_out,
			out System.Collections.Generic.Dictionary<string, OGen.Dia.Libraries.Metadata.Diagram.ForeignKey> foreignKeys_dic_out
		) {
			System.Collections.Generic.List<OGen.Dia.Libraries.Metadata.Diagram.ForeignKey> _output 
				= new System.Collections.Generic.List<OGen.Dia.Libraries.Metadata.Diagram.ForeignKey>();
			System.Collections.Generic.Dictionary<string, OGen.Dia.Libraries.Metadata.Diagram.ForeignKey> _output2
				= new System.Collections.Generic.Dictionary<string, OGen.Dia.Libraries.Metadata.Diagram.ForeignKey>();

			XS_objectType _table_a;
			string _tableName_a;
			string _tableFieldName_a;

			XS_objectType _table_b;
			string _tableName_b;
			string _tableFieldName_b;

			string _direction;

			XS_objectTypeCollection _objecttypecollection = (XS_objectTypeCollection)this.parent_ref;
			XS_layerType _layertype = (XS_layerType)_objecttypecollection.parent_ref;
			XS_layerTypeCollection _layertypecollection = (XS_layerTypeCollection)_layertype.parent_ref;
			XS__diagram _root_ref = (XS__diagram)_layertypecollection.parent_ref;
			OGen.Dia.Libraries.Metadata.Diagram.ForeignKey _aux;

			for (int l = 0; l < _root_ref.LayerCollection.Count; l++) {
				for (int o = 0; o < _root_ref.LayerCollection[l].ObjectCollection.Count; o++) {
					switch (_root_ref.LayerCollection[l].ObjectCollection[o].Type) {
						case "UML - Association":
							if (_root_ref.LayerCollection[l].ObjectCollection[o].Connections.ConnectionCollection.Count != 2)
								break;

							_table_a = null;
							_tableName_a = "";
							_tableFieldName_a = "";

							_table_b = null;
							_tableName_b = "";
							_tableFieldName_b = "";

							_direction = "";

							for (int a = 0; a < _root_ref.LayerCollection[l].ObjectCollection[o].AttributeCollection.Count; a++) {
								switch (_root_ref.LayerCollection[l].ObjectCollection[o].AttributeCollection[a].Name) {
									case "direction":
										_direction = _root_ref.LayerCollection[l].ObjectCollection[o].AttributeCollection[a].Enum.Value;
										break;
									case "role_a":
										_table_a = _root_ref.Table_search(
											_root_ref.LayerCollection[l].ObjectCollection[o].Connections.ConnectionCollection[0].To
										);
										_tableName_a = _table_a.TableName;
										_tableFieldName_a = _root_ref.LayerCollection[l].ObjectCollection[o].AttributeCollection[a].String.Replace("#", "");
										break;
									case "role_b":
										_table_b = _root_ref.Table_search(
											_root_ref.LayerCollection[l].ObjectCollection[o].Connections.ConnectionCollection[1].To
										);
										_tableName_b = _table_b.TableName;
										_tableFieldName_b = _root_ref.LayerCollection[l].ObjectCollection[o].AttributeCollection[a].String.Replace("#", "");
										break;
								}
							}

							if (
								(_table_a == this)
								&&
								(_direction == "1")
							) {
								_output2.Add(
									_tableFieldName_a,
									_aux = new OGen.Dia.Libraries.Metadata.Diagram.ForeignKey(
										_tableFieldName_a,
										_tableName_b,
										_tableFieldName_b
									)
								);
								_output.Add(_aux);
							}
							if (
								(_table_b == this)
								&&
								(_direction == "2")
							) {
								_output2.Add(
									_tableFieldName_b,
									_aux = new OGen.Dia.Libraries.Metadata.Diagram.ForeignKey(
										_tableFieldName_b,
										_tableName_a,
										_tableFieldName_a
									)
								);
								_output.Add(_aux);
							}
							break;
					}
				}
			}

			foreignKeys_dic_out = _output2;
			foreignKeys_out = _output.ToArray();

			//return _output.ToArray();
		}
Exemple #14
0
		public static void updObject(
			string sessionGuid_in,
			string ip_forLogPurposes_in, 

			SO_NWS_Tag tag_in,
			OGen.NTier.Kick.Libraries.DataLayer.Shared.Structures.SO_DIC__TextLanguage[] tx_Name_in,

			out int[] errors_out
		) {
			Guid _sessionguid;
			Sessionuser _sessionuser;

			#region check...
			List<int> _errorlist;
			if (!check(
				sessionGuid_in,
				ip_forLogPurposes_in, 

				ref tag_in,
				tx_Name_in, 

				out _sessionguid,
				out _sessionuser,
				out _errorlist
			)) {
				errors_out = _errorlist.ToArray();
				return;
			} 
			#endregion
			#region check existence . . .
			SO_NWS_Tag _tag;
			if (
				tag_in.IDTag <= 0
				||
				(
					(_tag = DO_NWS_Tag.getObject(
						tag_in.IDTag
					)) == null
				)
			) {
				_errorlist.Add(ErrorType.data__not_found);
				errors_out = _errorlist.ToArray();
				return;
			}
			#endregion

			if (
				_tag.IFUser__Approved_isNull
				||
				_tag.Approved_date_isNull
			) {
				if (_sessionuser.hasPermission(PermissionType.Tag__approve)) {
					tag_in.Approved_date = DateTime.Now;
					tag_in.IFUser__Approved = _sessionuser.IDUser;
				} else {
					tag_in.Approved_date_isNull = true;
					tag_in.IFUser__Approved_isNull = true;
				}
			} else {
				tag_in.Approved_date = _tag.Approved_date;
				tag_in.IFUser__Approved = _tag.IFUser__Approved;
			}

			tag_in.IFApplication = _tag.IFApplication;

			Exception _exception = null;
			#region DBConnection _con = DO__Utilities.DBConnection_createInstance(...);
			DBConnection _con = DO__Utilities.DBConnection_createInstance(
				DO__Utilities.DBServerType,
				DO__Utilities.DBConnectionstring,
				DO__Utilities.DBLogfile
			);
			#endregion
			try {
				_con.Open();
				_con.Transaction.Begin();

				#region TX_Name . . .
				if ((tx_Name_in != null) && (tx_Name_in.Length != 0)) {
					SBO_DIC_Dic.updObject(
						_con,
						_tag.TX_Name,
						tx_Name_in
					);
				}
				#endregion
				tag_in.TX_Name = _tag.TX_Name;

				DO_NWS_Tag.updObject(
					tag_in,
					true,

					_con
				);
				_errorlist.Add(ErrorType.tag__successfully_updated__WARNING);

				#region _con.Transaction.Commit();
				if (
					_con.IsOpen
					&&
					_con.Transaction.InTransaction
				) {
					_con.Transaction.Commit();
				}
				#endregion
			} catch (Exception _ex) {
				#region _con.Transaction.Rollback();
				if (
					_con.IsOpen
					&&
					_con.Transaction.InTransaction
				) {
					_con.Transaction.Rollback();
				}
				#endregion

			    _exception = _ex;
			} finally {
				#region _con.Transaction.Terminate(); _con.Close(); _con.Dispose();
				if (_con.IsOpen) {
					if (_con.Transaction.InTransaction) {
						_con.Transaction.Terminate();
					}
					_con.Close();
				}

				_con.Dispose();
				#endregion
			}
			if (_exception != null) {
				#region SBO_LOG_Log.Log(ErrorType.data);
				OGen.NTier.Kick.Libraries.BusinessLayer.SBO_LOG_Log.log(
					_sessionuser,
					LogType.error,
					ErrorType.data,
					-1L,
					_sessionuser.IDApplication,
					"{0}",
					new string[] {
			            _exception.Message
			        }
				);
				#endregion
				_errorlist.Add(ErrorType.data);
			}

			errors_out = _errorlist.ToArray();
		}
Exemple #15
0
		public static long insObject(
			string sessionGuid_in,
			string ip_forLogPurposes_in, 

			SO_NWS_Tag tag_in,
			OGen.NTier.Kick.Libraries.DataLayer.Shared.Structures.SO_DIC__TextLanguage[] tx_Name_in,

			bool selectIdentity_in, 

			out int[] errors_out
		) {
			long _output = -1L;
			Guid _sessionguid;
			Sessionuser _sessionuser;

			#region check...
			List<int> _errorlist;
			if (!check(
				sessionGuid_in,
				ip_forLogPurposes_in, 

				ref tag_in, 
				tx_Name_in, 

				out _sessionguid,
				out _sessionuser,
				out _errorlist
			)) {
				errors_out = _errorlist.ToArray();
				return _output;
			} 
			#endregion

			if (_sessionuser.hasPermission(PermissionType.Tag__approve)) {
				tag_in.Approved_date = DateTime.Now;
				tag_in.IFUser__Approved = _sessionuser.IDUser;
			} else {
				tag_in.Approved_date_isNull = true;
				tag_in.IFUser__Approved_isNull = true;
			}

			tag_in.IFApplication = _sessionuser.IDApplication;

			Exception _exception = null;
			#region DBConnection _con = DO__Utilities.DBConnection_createInstance(...);
			DBConnection _con = DO__Utilities.DBConnection_createInstance(
				DO__Utilities.DBServerType,
				DO__Utilities.DBConnectionstring,
				DO__Utilities.DBLogfile
			);
			#endregion
			try {
				_con.Open();
				_con.Transaction.Begin();

				long _tx_name = SBO_DIC_Dic.insObject(
					_con,
					_sessionuser.IDApplication,
					TableFieldSource.NWS_TAG__TX_NAME,
					tx_Name_in
				);

				tag_in.TX_Name = _tx_name;
				_output = DO_NWS_Tag.insObject(
					tag_in,
					selectIdentity_in,

					_con
				);
				_errorlist.Add(ErrorType.tag__successfully_created__WARNING);

				#region _con.Transaction.Commit();
				if (
					_con.IsOpen
					&&
					_con.Transaction.InTransaction
				) {
					_con.Transaction.Commit();
				}
				#endregion
			} catch (Exception _ex) {
				#region _con.Transaction.Rollback();
				if (
					_con.IsOpen
					&&
					_con.Transaction.InTransaction
				) {
					_con.Transaction.Rollback();
				}
				#endregion

			    _exception = _ex;
			} finally {
				#region _con.Transaction.Terminate(); _con.Close(); _con.Dispose();
				if (_con.IsOpen) {
					if (_con.Transaction.InTransaction) {
						_con.Transaction.Terminate();
					}
					_con.Close();
				}

				_con.Dispose();
				#endregion
			}
			if (_exception != null) {
				#region SBO_LOG_Log.Log(ErrorType.data);
				OGen.NTier.Kick.Libraries.BusinessLayer.SBO_LOG_Log.log(
					_sessionuser,
					LogType.error,
					ErrorType.data,
					-1L,
					_sessionuser.IDApplication,
					"{0}",
					new string[] {
			            _exception.Message
			        }
				);
				#endregion
				_errorlist.Add(ErrorType.data);
			}

			errors_out = _errorlist.ToArray();
			return _output;
		} 
Exemple #16
0
		private static bool check(
			string sessionGuid_in,
			string ip_forLogPurposes_in, 

			ref SO_NWS_Tag tag_ref,
			OGen.NTier.Kick.Libraries.DataLayer.Shared.Structures.SO_DIC__TextLanguage[] tx_Name_in,

			out Guid sessionGuid_out,
			out Sessionuser sessionUser_out,
			out List<int> errorlist_out
		) {
			#region check...
			if (!SBO_CRD_Authentication.isSessionGuid_valid(
				sessionGuid_in,
				ip_forLogPurposes_in,
				out sessionGuid_out,
				out sessionUser_out,
				out errorlist_out
			)) {
				return false;
			}
			#endregion
			#region check Permissions . . .
			if (
				!sessionUser_out.hasPermission(
					false, 
					PermissionType.Tag__insert,
					PermissionType.Tag__update
				)
			) {
				errorlist_out.Add(ErrorType.tag__lack_of_permissions_to_write);
				return false;
			}

			if (
				!sessionUser_out.hasPermission(PermissionType.Tag__approve)
				&&
				(
					!tag_ref.Approved_date_isNull
					||
					!tag_ref.IFUser__Approved_isNull
				)
			) {
				errorlist_out.Add(ErrorType.tag__lack_of_permissions_to_approve);
				return false;
			}
			#endregion

			// ToDos: here! check parent existence
			// ToDos: here! check if parent within same application
			// ToDos: here! check if any other checkings needed ...
			if (tag_ref.IFTag__parent <= 0) {
				tag_ref.IFTag__parent_isNull = true;
			}

			#region check Tag ...
			if (
				(tx_Name_in == null)
				||
				(tx_Name_in.Length == 0)
			) {
				errorlist_out.Add(ErrorType.tag__invalid_name);
				return false;
			} else {
				foreach (SO_DIC__TextLanguage _tx_name in tx_Name_in) {
					if (
						(_tx_name.Text = _tx_name.Text.Trim()).Length == 0
					) {
						errorlist_out.Add(ErrorType.tag__invalid_name);
						return false;
					}
				}
			}
			#endregion

			return true;
		} 
		//#region public Methods...
		//#region public void New(...);
		public void New(
			string applicationPath_in, 
			string applicationName_in, 
			string namespace_in, 
			OGen.NTier.lib.metadata.metadataExtended.XS_dbType[] dbs_in,
			dNotifyBack notifyBack_in
		) {
throw new Exception("// ToDos: not implemented!");
			//int _justadded;

			//if (notifyBack_in != null) notifyBack_in("creating...", true);
			//#region cDBMetadata _metadata_temp = new cDBMetadata(); ...;
			//cDBMetadata _metadata_temp = new cDBMetadata();
			//_metadata_temp.ApplicationName = applicationName_in;
			//_metadata_temp.Namespace = namespace_in;
			//_metadata_temp.DBs.Clear();
			//for (int d = 0; d < dbs_in.Length; d++) {
			//    _justadded = _metadata_temp.DBs.Add(
			//        dbs_in[d].DBServerType, 
			//        false
			//    );
			//    _metadata_temp.DBs[_justadded].CopyFrom(
			//        dbs_in[d]
			//    );

			//    //if (d == 0) {
			//    //    // ToDos: here! document this behaviour and describe it throught unit testing
			//    //    // first item in the array, represents default db connection
			//    //    _metadata_temp.Default_DBServerType = _metadata_temp.DBs[_justadded].DBServerType;
			//    //    _metadata_temp.Default_ConfigMode = _metadata_temp.DBs[_justadded].Connections[0].ConfigMode;
			//    //}
			//}
			//_metadata_temp.GUIDDatalayer = System.Guid.NewGuid().ToString("D").ToUpper();
			//_metadata_temp.GUIDDatalayer_proxy = System.Guid.NewGuid().ToString("D").ToUpper();
			//_metadata_temp.GUIDDatalayer_UTs = System.Guid.NewGuid().ToString("D").ToUpper();
			//_metadata_temp.GUIDBusinesslayer = System.Guid.NewGuid().ToString("D").ToUpper();
			//_metadata_temp.GUIDBusinesslayer_proxy = System.Guid.NewGuid().ToString("D").ToUpper();
			//_metadata_temp.GUIDBusinesslayer_UTs = System.Guid.NewGuid().ToString("D").ToUpper();
			//_metadata_temp.GUIDBusiness_client = System.Guid.NewGuid().ToString("D").ToUpper();
			//_metadata_temp.GUIDDistributedlayer_webservices_server = System.Guid.NewGuid().ToString("D").ToUpper();
			//_metadata_temp.GUIDDistributedlayer_webservices_client = System.Guid.NewGuid().ToString("D").ToUpper();
			//_metadata_temp.GUIDDistributedlayer_remoting_server = System.Guid.NewGuid().ToString("D").ToUpper();
			//_metadata_temp.GUIDDistributedlayer_remoting_client = System.Guid.NewGuid().ToString("D").ToUpper();
			//_metadata_temp.GUIDTest = System.Guid.NewGuid().ToString("D").ToUpper();
			//#endregion

			//if (notifyBack_in != null) notifyBack_in("- generating xml file", true);
			//#region string _xmlfile = ...;
			//string _xmlfile = string.Format(
			//    //"{0}{1}OGen-metadatas{1}MD_{2}-{3}.OGen-metadata.xml", 
			//    "{0}{1}OGen-metadatas{1}MD_{2}.OGen-metadata.xml", 
			//    /*0*/applicationPath_in, 
			//    /*1*/System.IO.Path.DirectorySeparatorChar, 
			//    /*2*/applicationName_in

			//    // first item in the array, represents default db connection
			//    ///*3*/, dbs_in[0].DBServerType.ToString()
			//);
			//#endregion
			//_metadata_temp.SaveState_toFile(_xmlfile);

			//if (notifyBack_in != null) notifyBack_in("... finished!", true);
			//if (notifyBack_in != null) notifyBack_in("", true);

			//Open(_xmlfile, true, notifyBack_in);
		}
		public frmManage_Views_PK_s020(
			OGen.Libraries.PresentationLayer.WinForms.FlowForms.FlowformFormNotifyBase NotifyBase_,
			OGen.Libraries.PresentationLayer.WinForms.FlowForms.FlowformFormNotifyBase NotifyBase_aboutNext_
		) {
			#region Required for Windows Form Designer support...
			this.InitializeComponent();
			#endregion
			this.flowformform_ = new FlowformForm(
				NotifyBase_, 
				NotifyBase_aboutNext_
			);
			#region Event safeguard...
			this.btnBack.Click += new System.EventHandler(this.flowformform_.btnBack_Click);
			this.btnNext.Click += new System.EventHandler(this.flowformform_.btnNext_Click);
			this.Closed += new System.EventHandler(this.flowformform_.FlowformForm_Closed);
			#endregion
		}
Exemple #19
0
		public void updObject(
			string sessionGuid_in, 
			string ip_forLogPurposes_in, 
			OGen.NTier.Kick.Libraries.DataLayer.Shared.Structures.SO_CRD_Profile profile_in, 
			long[] idProfile_parent_in, 
			long[] idPermission_in, 
			out int[] errors_out
		) {
			OGen.NTier.Kick.Libraries.BusinessLayer.SBO_CRD_Profile.updObject(
				sessionGuid_in, 
				(Utilities.ResetClientIP)
					? (string)System.Runtime.Remoting.Messaging.CallContext.GetData("ClientIPAddress")
					: ip_forLogPurposes_in, 
				profile_in, 
				idProfile_parent_in, 
				idPermission_in, 
				out errors_out
			);
		}
		public void updObject(
			string sessionGuid_in, 
			string ip_forLogPurposes_in, 
			OGen.NTier.Kick.lib.datalayer.shared.structures.SO_NWS_Highlight highlight_in, 
			out System.Int32[] errors_out
		) {
			OGen.NTier.Kick.lib.businesslayer.SBO_NWS_Highlight.updObject(
				sessionGuid_in, 
				ip_forLogPurposes_in, 
				highlight_in, 
				out errors_out
			);
		}
Exemple #21
0
		public long insObject(
			string sessionGuid_in, 
			string ip_forLogPurposes_in, 
			OGen.NTier.Kick.Libraries.DataLayer.Shared.Structures.SO_NWS_Author author_in, 
			bool selectIdentity_in, 
			out int[] errors_out
		) {
			object[] results = this.Invoke(
				"insObject", 
				new object[] {
					sessionGuid_in,
					ip_forLogPurposes_in,
					author_in,
					selectIdentity_in
				}
			);
			errors_out = (int[])results[1];
			return (long)results[0];
		}
		public long insObject(
			string sessionGuid_in, 
			string ip_forLogPurposes_in, 
			OGen.NTier.Kick.lib.datalayer.shared.structures.SO_NWS_Attachment attachment_in, 
			OGen.NTier.Kick.lib.datalayer.shared.structures.SO_DIC__TextLanguage[] tx_Name_in, 
			OGen.NTier.Kick.lib.datalayer.shared.structures.SO_DIC__TextLanguage[] tx_Description_in, 
			bool selectIdentity_in, 
			out string guid_out, 
			out System.Int32[] errors_out
		) {
			return bo_.insObject(
				sessionGuid_in, 
				ip_forLogPurposes_in, 
				attachment_in, 
				tx_Name_in, 
				tx_Description_in, 
				selectIdentity_in, 
				out guid_out, 
				out errors_out
			);
		}
		public void IterateThrough_fromRoot(
			string iteration_in, 
			OGen.lib.generator.utils.IterationFoundDelegate iteration_found_in,
			ref bool valueHasBeenFound_out
		) {
			OGen.lib.generator.utils.ReflectThrough(
				this, 
				Root_MetadataExtended, 
				iteration_found_in, 
				iteration_in, 
				Root_MetadataExtended, 
				false, 
				true, 
				ref valueHasBeenFound_out
			);
		}
Exemple #24
0
			public static bool LogOn(
				string login_in,
				string password_in,
				OGen.NTier.Kick.Libraries.BusinessLayer.Shared.hasErrors_errorFound errorFound_in
			) {
				int[] _errors;
				return logon(
					login_in,
					password_in,
					errorFound_in,
					out _errors
				);
			}
		public void updObject(
			string sessionGuid_in, 
			string ip_forLogPurposes_in, 
			OGen.NTier.Kick.lib.datalayer.shared.structures.SO_NWS_Highlight highlight_in, 
			out System.Int32[] errors_out
		) {
			throw new Exception("your not calling the remoting server, but the client's remoting server implementation");
		}
		public long insObject(
			string sessionGuid_in, 
			string ip_forLogPurposes_in, 
			OGen.NTier.Kick.lib.datalayer.shared.structures.SO_NWS_Source source_in, 
			bool selectIdentity_in, 
			out System.Int32[] errors_out
		) {
			return bo_.insObject(
				sessionGuid_in, 
				ip_forLogPurposes_in, 
				source_in, 
				selectIdentity_in, 
				out errors_out
			);
		}
		public void updObject(
			string sessionGuid_in, 
			string ip_forLogPurposes_in, 
			OGen.NTier.Kick.lib.datalayer.shared.structures.SO_NWS_Attachment attachment_in, 
			OGen.NTier.Kick.lib.datalayer.shared.structures.SO_DIC__TextLanguage[] tx_Name_in, 
			OGen.NTier.Kick.lib.datalayer.shared.structures.SO_DIC__TextLanguage[] tx_Description_in, 
			out System.Int32[] errors_out
		) {
			bo_.updObject(
				sessionGuid_in, 
				ip_forLogPurposes_in, 
				attachment_in, 
				tx_Name_in, 
				tx_Description_in, 
				out errors_out
			);
		}
		public void updObject(
			string sessionGuid_in, 
			string ip_forLogPurposes_in, 
			OGen.NTier.Kick.lib.datalayer.shared.structures.SO_NWS_Source source_in, 
			out System.Int32[] errors_out
		) {
			bo_.updObject(
				sessionGuid_in, 
				ip_forLogPurposes_in, 
				source_in, 
				out errors_out
			);
		}
Exemple #29
0
		public void updObject(
			string sessionGuid_in, 
			string ip_forLogPurposes_in, 
			OGen.NTier.Kick.Libraries.DataLayer.Shared.Structures.SO_NWS_Author author_in, 
			out int[] errors_out
		) {
			object[] results = this.Invoke(
				"updObject", 
				new object[] {
					sessionGuid_in,
					ip_forLogPurposes_in,
					author_in
				}
			);
			errors_out = (int[])results[0];
		}
		public long insObject(
			string sessionGuid_in, 
			string ip_forLogPurposes_in, 
			OGen.NTier.Kick.lib.datalayer.shared.structures.SO_NWS_Highlight highlight_in, 
			bool selectIdentity_in, 
			out System.Int32[] errors_out
		) {
			return OGen.NTier.Kick.lib.businesslayer.SBO_NWS_Highlight.insObject(
				sessionGuid_in, 
				ip_forLogPurposes_in, 
				highlight_in, 
				selectIdentity_in, 
				out errors_out
			);
		}