private void Clean() {
     this.Sysid = null;
     this.Createdate = null;
     this.Lastmodifieddate = null;
     this.Sourcesystem = string.Empty;
     this.Metaimportdate = null;
 }
 private void Clean() {
     this.Id = null;
     this.Objecttitle = string.Empty;
     this.Name = string.Empty;
     this.Datatype = string.Empty;
     this.Active = null;
 }
예제 #3
0
 public Address()
 {
     this.addressDateField = new System.DateTime(0);
     this.addressVerifiedDateField = new System.DateTime(0);
     this.lastVerificationAttemptDateField = new System.DateTime(0);
     this.createdDateField = new System.DateTime(0);
     this.lastUpdatedDateField = new System.DateTime(0);
 }
 private void Clean() {
     this.Sysid = null;
     this._projectsysid = null;
     this.Createdate = null;
     this.Lastmodifieddate = null;
     this.Description = string.Empty;
     this.Projects = null;
 }
 private void Clean() {
     this.Sysid = null;
     this._iterationsysid = null;
     this.Createdate = null;
     this.Lastmodifieddate = null;
     this.Description = string.Empty;
     this.Iterationnumber = string.Empty;
     this.Iterations = null;
 }
 private void Clean() {
     this.Sysid = null;
     this.Publicid = null;
     this._iterationsysid = null;
     this.Keypath = string.Empty;
     this.Keyvalue = string.Empty;
     this.Active = null;
     this.Iterations = null;
 }
 private void Clean() {
     this.Sysid = null;
     this.Publicid = null;
     this._areasysid = null;
     this.Keypath = string.Empty;
     this.Keyvalue = string.Empty;
     this.Active = null;
     this.Areas = null;
 }
 private void Clean() {
     this.Sysid = null;
     this.Publicid = null;
     this._teammembersysid = null;
     this.Keypath = string.Empty;
     this.Keyvalue = string.Empty;
     this.Active = null;
     this.Teammembers = null;
 }
 private void Clean() {
     this.Sysid = null;
     this.Publicid = null;
     this._timeentrysysid = null;
     this.Keypath = string.Empty;
     this.Keyvalue = string.Empty;
     this.Active = null;
     this.Timeentrys = null;
 }
예제 #10
0
 public Employee(SqlDataReader reader)
 {
     _EmployeeID = Convert.ToInt32(reader["EmployeeID"]);
     _LastName = reader["LastName"].ToString();
     _FirstName = reader["FirstName"].ToString();
     _Title = reader["Title"].ToString();
     _TitleOfCourtesy = reader["TitleOfCourtesy"].ToString();
     _BirthDate = Convert.ToDateTime(reader["BirthDate"]);
     _Notes = reader["Notes"].ToString();
 }
예제 #11
0
 public void DowngradeToReaderLock()
 {
     System.Diagnostics.Debug.Assert(type == LockType.ForWriting);
     if (type == LockType.ForWriting)
     {
         System.Threading.LockCookie c = cookie.Value;
         rwlock.DowngradeFromWriterLock(ref c);
         cookie = null;
         type = LockType.ForReading;
     }
 }
 private void Fill(System.Data.DataRow dr) {
     this.Clean();
     if ((dr["Id"] != System.DBNull.Value)) {
         this.Id = ((System.Nullable<int>)(dr["Id"]));
     }
     if ((dr["Parent"] != System.DBNull.Value)) {
         this.Parent = ((string)(dr["Parent"]));
     }
     if ((dr["Child"] != System.DBNull.Value)) {
         this.Child = ((string)(dr["Child"]));
     }
     if ((dr["Active"] != System.DBNull.Value)) {
         this.Active = ((System.Nullable<bool>)(dr["Active"]));
     }
 }
 private void Fill(System.Data.DataRow dr) {
     this.Clean();
     if ((dr["Id"] != System.DBNull.Value)) {
         this.Id = ((System.Nullable<int>)(dr["Id"]));
     }
     if ((dr["ObjectTitle"] != System.DBNull.Value)) {
         this.Objecttitle = ((string)(dr["ObjectTitle"]));
     }
     if ((dr["Name"] != System.DBNull.Value)) {
         this.Name = ((string)(dr["Name"]));
     }
     if ((dr["DataType"] != System.DBNull.Value)) {
         this.Datatype = ((string)(dr["DataType"]));
     }
     if ((dr["Active"] != System.DBNull.Value)) {
         this.Active = ((System.Nullable<bool>)(dr["Active"]));
     }
 }
 private void Fill(System.Data.DataRow dr) {
     this.Clean();
     if ((dr["SysId"] != System.DBNull.Value)) {
         this.Sysid = ((System.Nullable<int>)(dr["SysId"]));
     }
     if ((dr["ProjectSysId"] != System.DBNull.Value)) {
         this._projectsysid = ((System.Nullable<int>)(dr["ProjectSysId"]));
     }
     if ((dr["CreateDate"] != System.DBNull.Value)) {
         this.Createdate = ((System.Nullable<System.DateTime>)(dr["CreateDate"]));
     }
     if ((dr["LastModifiedDate"] != System.DBNull.Value)) {
         this.Lastmodifieddate = ((System.Nullable<System.DateTime>)(dr["LastModifiedDate"]));
     }
     if ((dr["Description"] != System.DBNull.Value)) {
         this.Description = ((string)(dr["Description"]));
     }
 }
 private void Fill(System.Data.DataRow dr) {
     this.Clean();
     if ((dr["SysId"] != System.DBNull.Value)) {
         this.Sysid = ((System.Nullable<int>)(dr["SysId"]));
     }
     if ((dr["CreateDate"] != System.DBNull.Value)) {
         this.Createdate = ((System.Nullable<System.DateTime>)(dr["CreateDate"]));
     }
     if ((dr["LastModifiedDate"] != System.DBNull.Value)) {
         this.Lastmodifieddate = ((System.Nullable<System.DateTime>)(dr["LastModifiedDate"]));
     }
     if ((dr["SourceSystem"] != System.DBNull.Value)) {
         this.Sourcesystem = ((string)(dr["SourceSystem"]));
     }
     if ((dr["MetaImportDate"] != System.DBNull.Value)) {
         this.Metaimportdate = ((System.Nullable<System.DateTime>)(dr["MetaImportDate"]));
     }
 }
        public int SrvOdbLaunchBackgroundTask(int p0, byte[] p1, int p2, string p3, string p4, System.Nullable <System.Guid> p5, byte[] p6, int p7, System.Nullable <Struct_1> p8, out System.Guid p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteInt32(p0);
            m.Write_1(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"), p0);
            m.WriteInt32(p2);
            m.WriteReferent(p3, new System.Action <string>(m.WriteTerminatedString));
            m.WriteReferent(p4, new System.Action <string>(m.WriteTerminatedString));
            m.WriteReferent(p5, new System.Action <System.Guid>(m.WriteGuid));
            m.WriteReferent(p6, new System.Action <byte[], long>(m.Write_2), p7);
            m.WriteInt32(p7);
            m.WriteReferent(p8, new System.Action <Struct_1>(m.Write_0));
            _Unmarshal_Helper u = SendReceive(2, m);

            p9 = u.ReadGuid();
            return(u.ReadInt32());
        }
 private void Fill(System.Data.DataRow dr) {
     this.Clean();
     if ((dr["SysId"] != System.DBNull.Value)) {
         this.Sysid = ((System.Nullable<int>)(dr["SysId"]));
     }
     if ((dr["PublicId"] != System.DBNull.Value)) {
         this.Publicid = ((System.Nullable<System.Guid>)(dr["PublicId"]));
     }
     if ((dr["ParentUserSysId"] != System.DBNull.Value)) {
         this._parentusersysid = ((System.Nullable<int>)(dr["ParentUserSysId"]));
     }
     if ((dr["ChildUserSysId"] != System.DBNull.Value)) {
         this._childusersysid = ((System.Nullable<int>)(dr["ChildUserSysId"]));
     }
     if ((dr["LinkPath"] != System.DBNull.Value)) {
         this.Linkpath = ((string)(dr["LinkPath"]));
     }
     if ((dr["CreateDate"] != System.DBNull.Value)) {
         this.Createdate = ((System.Nullable<System.DateTime>)(dr["CreateDate"]));
     }
     if ((dr["LastModifiedDate"] != System.DBNull.Value)) {
         this.Lastmodifieddate = ((System.Nullable<System.DateTime>)(dr["LastModifiedDate"]));
     }
     if ((dr["Active"] != System.DBNull.Value)) {
         this.Active = ((System.Nullable<bool>)(dr["Active"]));
     }
 }
 private void Clean() {
     this.Sysid = null;
     this.Publicid = null;
     this.Path = string.Empty;
     this._projectsysid = null;
     this._iterationsysid = null;
     this.Createdate = null;
     this.Active = null;
     this.Iterations = null;
     this.Projects = null;
 }
예제 #19
0
/// <summary>
/// Sets the <paramref name="value"/> of a column by the database column's name.
/// </summary>
/// <param name="columnName">The database name of the column to get the <paramref name="value"/> for.</param>
/// <param name="value">Value to assign to the column.</param>
public void SetValue(System.String columnName, System.Object value)
{
switch (columnName)
{
case "arg0":
this.Arg0 = (System.String)value;
break;

case "arg1":
this.Arg1 = (System.String)value;
break;

case "arg2":
this.Arg2 = (System.String)value;
break;

case "character_id":
this.CharacterID = (DemoGame.CharacterID)value;
break;

case "created":
this.Created = (System.DateTime)value;
break;

case "event_id":
this.EventID = (System.Byte)value;
break;

case "guild_id":
this.GuildID = (NetGore.Features.Guilds.GuildID)value;
break;

case "id":
this.ID = (System.Int32)value;
break;

case "target_character_id":
this.TargetCharacterID = (System.Nullable<DemoGame.CharacterID>)value;
break;

default:
throw new ArgumentException("Field not found.","columnName");
}
}
예제 #20
0
 public Struct_5(string Member0, NtApiDotNet.Ndr.Marshal.NdrEnum16 Member8, System.Nullable <Struct_5> Member10)
 {
     this.Member0  = Member0;
     this.Member8  = Member8;
     this.Member10 = Member10;
 }
예제 #21
0
 partial void OnfechaChanging(System.Nullable <System.DateTime> value);
 public Union_3(uint Selector, NtApiDotNet.Ndr.Marshal.NdrEmpty Arm_1, System.Nullable <Struct_4> Arm_2, System.Nullable <Struct_5> Arm_3, System.Nullable <Struct_6> Arm_4)
 {
     this.Selector = Selector;
     this.Arm_1    = Arm_1;
     this.Arm_2    = Arm_2;
     this.Arm_3    = Arm_3;
     this.Arm_4    = Arm_4;
 }
        public int s_SrvRpcCryptEnumKeys(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, string p2, out System.Nullable <Struct_1> p3, ref long p4, int p5)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteReferent(p2, new System.Action <string>(m.WriteTerminatedString));
            m.WriteInt64(p4);
            m.WriteInt32(p5);
            _Unmarshal_Helper u = SendReceive(5, m);

            p3 = u.ReadReferentValue <Struct_1>(new System.Func <Struct_1>(u.Read_1), false);
            p4 = u.ReadInt64();
            return(u.ReadInt32());
        }
예제 #24
0
 partial void OnJoinedDateChanging(System.Nullable <System.DateTime> value);
        public int s_SrvRpcCryptDeriveKey(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, string p3, System.Nullable <Struct_7> p4, ref byte[] p5, int p6, out int p7, int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteReferent(p4, new System.Action <Struct_7>(m.Write_7));
            m.WriteReferent(p5, new System.Action <byte[], long>(m.Write_16), p6);
            m.WriteInt32(p6);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(25, m);

            p5 = u.ReadReferent <byte[]>(new System.Func <byte[]>(u.Read_16), false);
            p7 = u.ReadInt32();
            return(u.ReadInt32());
        }
예제 #26
0
 public Gradual.Intranet.Www.PosicaoCotista.PosicaoCotistaViewModel[] ExportaComCodigoInterface(Gradual.Intranet.Www.PosicaoCotista.ValidateLogin ValidateLogin, System.Nullable <int> IdPosicao, System.Nullable <int> IdCotista, string CodigoInterface, System.Nullable <int> IdCarteira)
 {
     Gradual.Intranet.Www.PosicaoCotista.ExportaComCodigoInterfaceRequest inValue = new Gradual.Intranet.Www.PosicaoCotista.ExportaComCodigoInterfaceRequest();
     inValue.ValidateLogin   = ValidateLogin;
     inValue.IdPosicao       = IdPosicao;
     inValue.IdCotista       = IdCotista;
     inValue.CodigoInterface = CodigoInterface;
     inValue.IdCarteira      = IdCarteira;
     Gradual.Intranet.Www.PosicaoCotista.ExportaComCodigoInterfaceResponse retVal = ((Gradual.Intranet.Www.PosicaoCotista.PosicaoCotistaWSGradualSoap)(this)).ExportaComCodigoInterface(inValue);
     return(retVal.ExportaComCodigoInterfaceResult);
 }
예제 #27
0
 public ExportaComCodigoInterfaceRequest(Gradual.Intranet.Www.PosicaoCotista.ValidateLogin ValidateLogin, System.Nullable <int> IdPosicao, System.Nullable <int> IdCotista, string CodigoInterface, System.Nullable <int> IdCarteira)
 {
     this.ValidateLogin   = ValidateLogin;
     this.IdPosicao       = IdPosicao;
     this.IdCotista       = IdCotista;
     this.CodigoInterface = CodigoInterface;
     this.IdCarteira      = IdCarteira;
 }
예제 #28
0
 public ExportaRequest(Gradual.Intranet.Www.PosicaoCotista.ValidateLogin ValidateLogin, System.Nullable <int> IdPosicao, System.Nullable <int> IdCotista, System.Nullable <int> IdCarteira)
 {
     this.ValidateLogin = ValidateLogin;
     this.IdPosicao     = IdPosicao;
     this.IdCotista     = IdCotista;
     this.IdCarteira    = IdCarteira;
 }
예제 #29
0
 public Person()
 {
     this.dateOfBirthField = new System.DateTime(0);
     this.firstRecordField = new System.DateTime(0);
     this.createdDateField = new System.DateTime(0);
     this.lastUpdatedDateField = new System.DateTime(0);
 }
        public int s_SrvRpcCryptImportKey(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, string p3, System.Nullable <Struct_7> p4, out long p5, byte[] p6, int p7, int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p3, "p3"));
            m.WriteReferent(p4, new System.Action <Struct_7>(m.Write_7));
            m.Write_15(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p6, "p6"), p7);
            m.WriteInt32(p7);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(18, m);

            p5 = u.ReadInt64();
            return(u.ReadInt32());
        }
예제 #31
0
/// <summary>
/// Initializes a new instance of the <see cref="MapSpawnTable"/> class.
/// </summary>
/// <param name="amount">The initial value for the corresponding property.</param>
/// <param name="characterTemplateID">The initial value for the corresponding property.</param>
/// <param name="directionId">The initial value for the corresponding property.</param>
/// <param name="height">The initial value for the corresponding property.</param>
/// <param name="iD">The initial value for the corresponding property.</param>
/// <param name="mapID">The initial value for the corresponding property.</param>
/// <param name="respawn">The initial value for the corresponding property.</param>
/// <param name="width">The initial value for the corresponding property.</param>
/// <param name="x">The initial value for the corresponding property.</param>
/// <param name="y">The initial value for the corresponding property.</param>
public MapSpawnTable(System.Byte @amount, DemoGame.CharacterTemplateID @characterTemplateID, NetGore.Direction @directionId, System.Nullable<System.UInt16> @height, DemoGame.MapSpawnValuesID @iD, NetGore.World.MapID @mapID, System.UInt16 @respawn, System.Nullable<System.UInt16> @width, System.Nullable<System.UInt16> @x, System.Nullable<System.UInt16> @y)
{
this.Amount = (System.Byte)@amount;
this.CharacterTemplateID = (DemoGame.CharacterTemplateID)@characterTemplateID;
this.DirectionId = (NetGore.Direction)@directionId;
this.Height = (System.Nullable<System.UInt16>)@height;
this.ID = (DemoGame.MapSpawnValuesID)@iD;
this.MapID = (NetGore.World.MapID)@mapID;
this.Respawn = (System.UInt16)@respawn;
this.Width = (System.Nullable<System.UInt16>)@width;
this.X = (System.Nullable<System.UInt16>)@x;
this.Y = (System.Nullable<System.UInt16>)@y;
}
        public int s_SrvRpcCryptExportKey(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, long p3, string p4, System.Nullable <Struct_7> p5, ref byte[] p6, int p7, out int p8, int p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.WriteInt64(p3);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"));
            m.WriteReferent(p5, new System.Action <Struct_7>(m.Write_7));
            m.WriteReferent(p6, new System.Action <byte[], long>(m.Write_15), p7);
            m.WriteInt32(p7);
            m.WriteInt32(p9);
            _Unmarshal_Helper u = SendReceive(19, m);

            p6 = u.ReadReferent <byte[]>(new System.Func <byte[]>(u.Read_15), false);
            p8 = u.ReadInt32();
            return(u.ReadInt32());
        }
 private void Fill(System.Data.DataRow dr) {
     this.Clean();
     if ((dr["SysId"] != System.DBNull.Value)) {
         this.Sysid = ((System.Nullable<int>)(dr["SysId"]));
     }
     if ((dr["TeamMemberStatusSysId"] != System.DBNull.Value)) {
         this._teammemberstatussysid = ((System.Nullable<int>)(dr["TeamMemberStatusSysId"]));
     }
     if ((dr["TeamMemberTypeSysId"] != System.DBNull.Value)) {
         this._teammembertypesysid = ((System.Nullable<int>)(dr["TeamMemberTypeSysId"]));
     }
     if ((dr["PublicId"] != System.DBNull.Value)) {
         this.Publicid = ((System.Nullable<System.Guid>)(dr["PublicId"]));
     }
     if ((dr["Path"] != System.DBNull.Value)) {
         this.Path = ((string)(dr["Path"]));
     }
     if ((dr["CreateDate"] != System.DBNull.Value)) {
         this.Createdate = ((System.Nullable<System.DateTime>)(dr["CreateDate"]));
     }
     if ((dr["LastModifiedDate"] != System.DBNull.Value)) {
         this.Lastmodifieddate = ((System.Nullable<System.DateTime>)(dr["LastModifiedDate"]));
     }
     if ((dr["Is_ReadOnly"] != System.DBNull.Value)) {
         this.IsReadonly = ((System.Nullable<bool>)(dr["Is_ReadOnly"]));
     }
     if ((dr["Active"] != System.DBNull.Value)) {
         this.Active = ((System.Nullable<bool>)(dr["Active"]));
     }
 }
        public int s_SrvRpcCryptSignHash(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, System.Nullable <Struct_2> p3, byte[] p4, int p5, ref byte[] p6, int p7, out int p8, int p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.WriteReferent(p3, new System.Action <Struct_2>(m.Write_2));
            m.Write_14(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p5);
            m.WriteInt32(p5);
            m.WriteReferent(p6, new System.Action <byte[], long>(m.Write_15), p7);
            m.WriteInt32(p7);
            m.WriteInt32(p9);
            _Unmarshal_Helper u = SendReceive(20, m);

            p6 = u.ReadReferent <byte[]>(new System.Func <byte[]>(u.Read_15), false);
            p8 = u.ReadInt32();
            return(u.ReadInt32());
        }
        public int sp_CrearDetalleSolicitud([global::System.Data.Linq.Mapping.ParameterAttribute(DbType = "Int")] System.Nullable <int> idDetalleSolicitud, [global::System.Data.Linq.Mapping.ParameterAttribute(DbType = "Int")] System.Nullable <int> idSolicitud, [global::System.Data.Linq.Mapping.ParameterAttribute(DbType = "Int")] System.Nullable <int> idPersona, [global::System.Data.Linq.Mapping.ParameterAttribute(Name = "FechaCreacion", DbType = "DateTime")] System.Nullable <System.DateTime> fechaCreacion, [global::System.Data.Linq.Mapping.ParameterAttribute(Name = "CantidadPasajes", DbType = "Float")] System.Nullable <double> cantidadPasajes, [global::System.Data.Linq.Mapping.ParameterAttribute(Name = "CantidadViaticos", DbType = "Float")] System.Nullable <double> cantidadViaticos)
        {
            IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), idDetalleSolicitud, idSolicitud, idPersona, fechaCreacion, cantidadPasajes, cantidadViaticos);

            return((int)(result.ReturnValue));
        }
        public int s_SrvRpcCryptVerifySignature(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, long p1, long p2, System.Nullable <Struct_2> p3, byte[] p4, int p5, byte[] p6, int p7, int p8)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            m.WriteInt64(p1);
            m.WriteInt64(p2);
            m.WriteReferent(p3, new System.Action <Struct_2>(m.Write_2));
            m.Write_14(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p4, "p4"), p5);
            m.WriteInt32(p5);
            m.Write_15(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p6, "p6"), p7);
            m.WriteInt32(p7);
            m.WriteInt32(p8);
            _Unmarshal_Helper u = SendReceive(21, m);

            return(u.ReadInt32());
        }
예제 #37
0
/// <summary>
/// Copies the values from the given <paramref name="source"/> into this GuildEventTable.
/// </summary>
/// <param name="source">The IGuildEventTable to copy the values from.</param>
public void CopyValuesFrom(IGuildEventTable source)
{
this.Arg0 = (System.String)source.Arg0;
this.Arg1 = (System.String)source.Arg1;
this.Arg2 = (System.String)source.Arg2;
this.CharacterID = (DemoGame.CharacterID)source.CharacterID;
this.Created = (System.DateTime)source.Created;
this.EventID = (System.Byte)source.EventID;
this.GuildID = (NetGore.Features.Guilds.GuildID)source.GuildID;
this.ID = (System.Int32)source.ID;
this.TargetCharacterID = (System.Nullable<DemoGame.CharacterID>)source.TargetCharacterID;
}
        public int RSensorBrokerServerGetCurrentOrientation(NtApiDotNet.Ndr.Marshal.NdrContextHandle p0, out System.Nullable <Struct_0> p1)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteContextHandle(p0);
            _Unmarshal_Helper u = SendReceive(6, m);

            p1 = u.ReadReferentValue <Struct_0>(new System.Func <Struct_0>(u.Read_0), false);
            return(u.ReadInt32());
        }
 private void Fill(System.Data.DataRow dr) {
     this.Clean();
     if ((dr["SysId"] != System.DBNull.Value)) {
         this.Sysid = ((System.Nullable<int>)(dr["SysId"]));
     }
     if ((dr["PublicId"] != System.DBNull.Value)) {
         this.Publicid = ((System.Nullable<System.Guid>)(dr["PublicId"]));
     }
     if ((dr["Path"] != System.DBNull.Value)) {
         this.Path = ((string)(dr["Path"]));
     }
     if ((dr["ProjectSysId"] != System.DBNull.Value)) {
         this._projectsysid = ((System.Nullable<int>)(dr["ProjectSysId"]));
     }
     if ((dr["IterationsysId"] != System.DBNull.Value)) {
         this._iterationsysid = ((System.Nullable<int>)(dr["IterationsysId"]));
     }
     if ((dr["CreateDate"] != System.DBNull.Value)) {
         this.Createdate = ((System.Nullable<System.DateTime>)(dr["CreateDate"]));
     }
     if ((dr["Active"] != System.DBNull.Value)) {
         this.Active = ((System.Nullable<bool>)(dr["Active"]));
     }
 }
예제 #40
0
 partial void OnYearEndChanging(System.Nullable <System.DateTime> value);
 private void Clean() {
     this.Sysid = null;
     this.Publicid = null;
     this._parentusersysid = null;
     this._childusersysid = null;
     this.Linkpath = string.Empty;
     this.Createdate = null;
     this.Lastmodifieddate = null;
     this.Active = null;
     this.Users = null;
     this.Users2 = null;
 }
예제 #42
0
 partial void OnExternalCompletedAtChanging(System.Nullable <System.DateTime> value);
 private void Clean() {
     this.Id = null;
     this.Parent = string.Empty;
     this.Child = string.Empty;
     this.Active = null;
 }
예제 #44
0
/// <summary>
/// Sets the <paramref name="value"/> of a column by the database column's name.
/// </summary>
/// <param name="columnName">The database name of the column to get the <paramref name="value"/> for.</param>
/// <param name="value">Value to assign to the column.</param>
public void SetValue(System.String columnName, System.Object value)
{
switch (columnName)
{
case "amount":
this.Amount = (System.Byte)value;
break;

case "character_template_id":
this.CharacterTemplateID = (DemoGame.CharacterTemplateID)value;
break;

case "direction_id":
this.DirectionId = (NetGore.Direction)value;
break;

case "height":
this.Height = (System.Nullable<System.UInt16>)value;
break;

case "id":
this.ID = (DemoGame.MapSpawnValuesID)value;
break;

case "map_id":
this.MapID = (NetGore.World.MapID)value;
break;

case "respawn":
this.Respawn = (System.UInt16)value;
break;

case "width":
this.Width = (System.Nullable<System.UInt16>)value;
break;

case "x":
this.X = (System.Nullable<System.UInt16>)value;
break;

case "y":
this.Y = (System.Nullable<System.UInt16>)value;
break;

default:
throw new ArgumentException("Field not found.","columnName");
}
}
예제 #45
0
 public Struct_3(string Member0, System.Nullable <Struct_3> Member8)
 {
     this.Member0 = Member0;
     this.Member8 = Member8;
 }
 partial void OnCheckOutTimeChanging(System.Nullable <System.DateTime> value);
예제 #47
0
 public Struct_2(string Member0, System.Nullable <Struct_3> Member8, System.Nullable <Struct_2> Member10)
 {
     this.Member0  = Member0;
     this.Member8  = Member8;
     this.Member10 = Member10;
 }
 private void Fill(System.Data.DataRow dr) {
     this.Clean();
     if ((dr["SysId"] != System.DBNull.Value)) {
         this.Sysid = ((System.Nullable<int>)(dr["SysId"]));
     }
     if ((dr["PublicId"] != System.DBNull.Value)) {
         this.Publicid = ((System.Nullable<System.Guid>)(dr["PublicId"]));
     }
     if ((dr["TimeEntrySysId"] != System.DBNull.Value)) {
         this._timeentrysysid = ((System.Nullable<int>)(dr["TimeEntrySysId"]));
     }
     if ((dr["KeyPath"] != System.DBNull.Value)) {
         this.Keypath = ((string)(dr["KeyPath"]));
     }
     if ((dr["KeyValue"] != System.DBNull.Value)) {
         this.Keyvalue = ((string)(dr["KeyValue"]));
     }
     if ((dr["Active"] != System.DBNull.Value)) {
         this.Active = ((System.Nullable<bool>)(dr["Active"]));
     }
 }
예제 #49
0
/// <summary>
/// Copies the values from the given <paramref name="source"/> into this MapSpawnTable.
/// </summary>
/// <param name="source">The IMapSpawnTable to copy the values from.</param>
public void CopyValuesFrom(IMapSpawnTable source)
{
this.Amount = (System.Byte)source.Amount;
this.CharacterTemplateID = (DemoGame.CharacterTemplateID)source.CharacterTemplateID;
this.DirectionId = (NetGore.Direction)source.DirectionId;
this.Height = (System.Nullable<System.UInt16>)source.Height;
this.ID = (DemoGame.MapSpawnValuesID)source.ID;
this.MapID = (NetGore.World.MapID)source.MapID;
this.Respawn = (System.UInt16)source.Respawn;
this.Width = (System.Nullable<System.UInt16>)source.Width;
this.X = (System.Nullable<System.UInt16>)source.X;
this.Y = (System.Nullable<System.UInt16>)source.Y;
}
예제 #50
0
 public CompilationOptions(System.Collections.Generic.IEnumerable <string> defines, string languageVersion, string platform, System.Nullable <bool> allowUnsafe, System.Nullable <bool> warningsAsErrors, System.Nullable <bool> optimize, string keyFile, System.Nullable <bool> delaySign, System.Nullable <bool> publicSign, string debugType, System.Nullable <bool> emitEntryPoint, System.Nullable <bool> generateXmlDocumentation)
 {
 }
예제 #51
0
 public void Setup()
 {
   IntelliTrack.Client.Application.dlgParametrosConsultaHistoricos dlgParametrosConsultaHistoricos = new IntelliTrack.Client.Application.dlgParametrosConsultaHistoricos();
   dlgParametrosConsultaHistoricos.FechaInicio = FechaInicioConsulta_.Value;;
   dlgParametrosConsultaHistoricos.FechaFin = FechaFinConsulta.Value;
   dlgParametrosConsultaHistoricos.VelocidadMinima = VelocidadMinima;
   dlgParametrosConsultaHistoricos.VelocidadMaxima = VelocidadMaxima;
   dlgParametrosConsultaHistoricos.CategoriaSelected = Categoria_.Value;
   dlgParametrosConsultaHistoricos.Vehiculo = Vehiculo;
   dlgParametrosConsultaHistoricos.Transponder = Transponder;
   dlgParametrosConsultaHistoricos.Punto = Punto;
   dlgParametrosConsultaHistoricos.Camino = Camino;
   dlgParametrosConsultaHistoricos.Area = Area;
   dlgParametrosConsultaHistoricos.GenerarReporte = GenerarReporte;
   dlgParametrosConsultaHistoricos.MuestrasPorSegundo = 1000 / AnimationSpeedMiliSeconds_;
   dlgParametrosConsultaHistoricos.QueryTimeOut = QueryTimeOut;
   dlgParametrosConsultaHistoricos.FiltroPorVelocidad = FiltroPorVelocidad;
   if (dlgParametrosConsultaHistoricos.ShowDialog() == System.Windows.Forms.DialogResult.OK)
   {
     FechaInicioConsulta = new System.Nullable<System.DateTime>(dlgParametrosConsultaHistoricos.FechaInicio);
     FechaFinConsulta = new System.Nullable<System.DateTime>(dlgParametrosConsultaHistoricos.FechaFin);
     VelocidadMinima = dlgParametrosConsultaHistoricos.VelocidadMinima;
     VelocidadMaxima = dlgParametrosConsultaHistoricos.VelocidadMaxima;
     Categoria = new System.Nullable<int>(dlgParametrosConsultaHistoricos.CategoriaSelected);
     Vehiculo = dlgParametrosConsultaHistoricos.Vehiculo;
     Transponder = dlgParametrosConsultaHistoricos.Transponder;
     Punto = dlgParametrosConsultaHistoricos.Punto;
     Camino = dlgParametrosConsultaHistoricos.Camino;
     Area = dlgParametrosConsultaHistoricos.Area;
     AnimationSpeedMiliSeconds = 1000 / dlgParametrosConsultaHistoricos.MuestrasPorSegundo;
     QueryTimeOut = dlgParametrosConsultaHistoricos.QueryTimeOut;
     GenerarReporte = dlgParametrosConsultaHistoricos.GenerarReporte;
     FiltroPorVelocidad = dlgParametrosConsultaHistoricos.FiltroPorVelocidad;
     ClearProviderGPSs();
     ExecuteQuery(true);
   }
 }
예제 #52
0
 protected internal override MsgPack.Serialization.PolymorphicMemberTypeKnownType_Normal_ValuePrivateSetterPropertyAndConstructor UnpackFromCore(MsgPack.Unpacker unpacker)
 {
     MsgPack.Serialization.PolymorphicMemberTypeKnownType_Normal_ValuePrivateSetterPropertyAndConstructor result = default(MsgPack.Serialization.PolymorphicMemberTypeKnownType_Normal_ValuePrivateSetterPropertyAndConstructor);
     result = new MsgPack.Serialization.PolymorphicMemberTypeKnownType_Normal_ValuePrivateSetterPropertyAndConstructor();
     if (unpacker.IsArrayHeader)
     {
         int unpacked   = default(int);
         int itemsCount = default(int);
         itemsCount = MsgPack.Serialization.UnpackHelpers.GetItemsCount(unpacker);
         System.Nullable <System.DateTime> nullable = default(System.Nullable <System.DateTime>);
         if ((unpacked < itemsCount))
         {
             if ((unpacker.Read() == false))
             {
                 throw MsgPack.Serialization.SerializationExceptions.NewMissingItem(0);
             }
             if (((unpacker.IsArrayHeader == false) &&
                  (unpacker.IsMapHeader == false)))
             {
                 nullable = this._serializer1.UnpackFrom(unpacker);
             }
             else
             {
                 MsgPack.Unpacker disposable = default(MsgPack.Unpacker);
                 disposable = unpacker.ReadSubtree();
                 try {
                     nullable = this._serializer1.UnpackFrom(disposable);
                 }
                 finally {
                     if (((disposable == null)
                          == false))
                     {
                         disposable.Dispose();
                     }
                 }
             }
         }
         if (nullable.HasValue)
         {
             this._methodBasePolymorphicMemberTypeKnownType_Normal_ValuePrivateSetterPropertyAndConstructor_set_Value0.Invoke(result, new object[] {
                 ((object)(nullable.Value))
             });
         }
         unpacked = (unpacked + 1);
     }
     else
     {
         int itemsCount0 = default(int);
         itemsCount0 = MsgPack.Serialization.UnpackHelpers.GetItemsCount(unpacker);
         for (int i = 0; (i < itemsCount0); i = (i + 1))
         {
             string key       = default(string);
             string nullable0 = default(string);
             nullable0 = MsgPack.Serialization.UnpackHelpers.UnpackStringValue(unpacker, typeof(MsgPack.Serialization.PolymorphicMemberTypeKnownType_Normal_ValuePrivateSetterPropertyAndConstructor), "MemberName");
             if (((nullable0 == null)
                  == false))
             {
                 key = nullable0;
             }
             else
             {
                 throw MsgPack.Serialization.SerializationExceptions.NewNullIsProhibited("MemberName");
             }
             if ((key == "Value"))
             {
                 System.Nullable <System.DateTime> nullable1 = default(System.Nullable <System.DateTime>);
                 if ((unpacker.Read() == false))
                 {
                     throw MsgPack.Serialization.SerializationExceptions.NewMissingItem(i);
                 }
                 if (((unpacker.IsArrayHeader == false) &&
                      (unpacker.IsMapHeader == false)))
                 {
                     nullable1 = this._serializer1.UnpackFrom(unpacker);
                 }
                 else
                 {
                     MsgPack.Unpacker disposable0 = default(MsgPack.Unpacker);
                     disposable0 = unpacker.ReadSubtree();
                     try {
                         nullable1 = this._serializer1.UnpackFrom(disposable0);
                     }
                     finally {
                         if (((disposable0 == null)
                              == false))
                         {
                             disposable0.Dispose();
                         }
                     }
                 }
                 if (nullable1.HasValue)
                 {
                     this._methodBasePolymorphicMemberTypeKnownType_Normal_ValuePrivateSetterPropertyAndConstructor_set_Value0.Invoke(result, new object[] {
                         ((object)(nullable1.Value))
                     });
                 }
             }
             else
             {
                 unpacker.Skip();
             }
         }
     }
     return(result);
 }
 protected string GetTestFilePath(System.Nullable <int> index = default(System.Nullable <int>), [System.Runtime.CompilerServices.CallerMemberNameAttribute] string memberName = null, [System.Runtime.CompilerServices.CallerLineNumberAttribute] int lineNumber = 0)
 {
     throw null;
 }
예제 #54
0
 partial void OnPkgEndDateChanging(System.Nullable <System.DateTime> value);
 private void Clean() {
     this.Sysid = null;
     this._teammemberstatussysid = null;
     this._teammembertypesysid = null;
     this.Publicid = null;
     this.Path = string.Empty;
     this.Createdate = null;
     this.Lastmodifieddate = null;
     this.IsReadonly = null;
     this.Active = null;
     this._taskteammembersCollection = null;
     this._teammemberlinksCollection = null;
     this._teammemberlinksCollection2 = null;
     this._teammembermetadataCollection = null;
     this.Teammemberstatus = null;
     this.Teammembertypes = null;
     this._teammembertagsCollection = null;
     this._teamteammembersCollection = null;
     this._userteammembersCollection = null;
 }
예제 #56
0
        public int AppXSetTrustLabelOnPackage_17(string p0, string p1, NtApiDotNet.Ndr.Marshal.NdrEnum16 p2, out System.Nullable <Struct_4> p3)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p0, "p0"));
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p1, "p1"));
            m.WriteEnum16(p2);
            _Unmarshal_Helper u = SendReceive(17, m);

            p3 = u.ReadReferentValue <Struct_4>(new System.Func <Struct_4>(u.Read_3), false);
            return(u.ReadInt32());
        }
 partial void OnEMP_HIRE_DATEChanging(System.Nullable <System.DateTime> value);
예제 #58
0
        public int AppXSetTrustLabelOnPackage(NtApiDotNet.Ndr.Marshal.NdrEnum16 p0, NtApiDotNet.Ndr.Marshal.NdrEnum16 p1, string p2, string p3, int p4, string[] p5, int p6, Struct_0 p7, System.Nullable <System.Guid> p8, out string p9)
        {
            _Marshal_Helper m = new _Marshal_Helper();

            m.WriteEnum16(p0);
            m.WriteEnum16(p1);
            m.WriteTerminatedString(NtApiDotNet.Win32.Rpc.RpcUtils.CheckNull(p2, "p2"));
            m.WriteReferent(p3, new System.Action <string>(m.WriteTerminatedString));
            m.WriteInt32(p4);
            m.WriteReferent(p5, new System.Action <string[], long>(m.Write_6), p4);
            m.WriteInt32(p6);
            m.Write_0(p7);
            m.WriteReferent(p8, new System.Action <System.Guid>(m.WriteGuid));
            _Unmarshal_Helper u = SendReceive(0, m);

            p9 = u.ReadReferent <string>(new System.Func <string>(u.ReadConformantVaryingString), false);
            return(u.ReadInt32());
        }
예제 #59
0
 partial void OnenddateChanging(System.Nullable <System.DateTime> value);
        public int sp_CrearSolicitud([global::System.Data.Linq.Mapping.ParameterAttribute(DbType = "Int")] System.Nullable <int> idSolicitud, [global::System.Data.Linq.Mapping.ParameterAttribute(Name = "NomUsuario", DbType = "NVarChar(30)")] string nomUsuario, [global::System.Data.Linq.Mapping.ParameterAttribute(Name = "Destino", DbType = "NVarChar(25)")] string destino, [global::System.Data.Linq.Mapping.ParameterAttribute(DbType = "NVarChar(255)")] string justificacion, [global::System.Data.Linq.Mapping.ParameterAttribute(Name = "FechaCreacion", DbType = "DateTime")] System.Nullable <System.DateTime> fechaCreacion, [global::System.Data.Linq.Mapping.ParameterAttribute(Name = "FechaHoraSalida", DbType = "DateTime")] System.Nullable <System.DateTime> fechaHoraSalida, [global::System.Data.Linq.Mapping.ParameterAttribute(Name = "FechaHoraRegreso", DbType = "DateTime")] System.Nullable <System.DateTime> fechaHoraRegreso)
        {
            IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), idSolicitud, nomUsuario, destino, justificacion, fechaCreacion, fechaHoraSalida, fechaHoraRegreso);

            return((int)(result.ReturnValue));
        }