本文整理汇总了C#中OGen类的典型用法代码示例。如果您正苦于以下问题:C# OGen类的具体用法?C# OGen怎么用?C# OGen使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
OGen类属于命名空间,在下文中一共展示了OGen类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Flowform
protected Flowform(
OGen.Libraries.PresentationLayer.WinForms.FlowForms.FlowformNotifyBase notifyBase_in,
int numFlowformForms_in
) {
this.notifybase_ = notifyBase_in;
this.myflowforms_ = new Flowform[numFlowformForms_in];
}
示例2: FlowformForm
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;
}
示例3: insLanguage
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");
}
示例4: insObject
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");
}
示例5: insObjectAsync
/// <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
);
}
示例6: insObject
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
);
}
示例7: Load_fromDB
// #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
);
}
示例8: cGenerator_Generate_s000
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;
}
示例9: insObject
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];
}
示例10: cManage_Views_PK_s000
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);
}
示例11: cManage_ConfigTables_CreateOrChange_s010
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_;
}
示例12: cTweak_Project_s000
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);
}
示例13: TableForeignKeys
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;
//.........这里部分代码省略.........
示例14: updObject
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
&&
//.........这里部分代码省略.........
示例15: insObject
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();
}
//.........这里部分代码省略.........