Пример #1
0
        /// <summary>
        /// Create a new Users object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        /// <param name="userid">Initial value of the userid property.</param>
        /// <param name="fullname">Initial value of the fullname property.</param>
        /// <param name="source">Initial value of the source property.</param>
        public static Users CreateUsers(global::System.Int32 id, global::System.Int64 userid, global::System.String fullname, global::System.String source)
        {
            Users users = new Users();

            users.id       = id;
            users.userid   = userid;
            users.fullname = fullname;
            users.source   = source;
            return(users);
        }
Пример #2
0
        /// <summary>
        /// Create a new hunt object.
        /// </summary>
        /// <param name="huntId">Initial value of the HuntId property.</param>
        /// <param name="huntName">Initial value of the HuntName property.</param>
        /// <param name="password">Initial value of the Password property.</param>
        /// <param name="huntDescription">Initial value of the HuntDescription property.</param>
        public static hunt Createhunt(global::System.Int64 huntId, global::System.String huntName, global::System.String password, global::System.String huntDescription)
        {
            hunt hunt = new hunt();

            hunt.HuntId          = huntId;
            hunt.HuntName        = huntName;
            hunt.Password        = password;
            hunt.HuntDescription = huntDescription;
            return(hunt);
        }
Пример #3
0
        /// <summary>
        /// Create a new ProjectMaster object.
        /// </summary>
        /// <param name="projectID">Initial value of the ProjectID property.</param>
        /// <param name="projectName">Initial value of the ProjectName property.</param>
        /// <param name="projectCode">Initial value of the ProjectCode property.</param>
        /// <param name="isActive">Initial value of the IsActive property.</param>
        public static ProjectMaster CreateProjectMaster(global::System.Int64 projectID, global::System.String projectName, global::System.String projectCode, global::System.Boolean isActive)
        {
            ProjectMaster projectMaster = new ProjectMaster();

            projectMaster.ProjectID   = projectID;
            projectMaster.ProjectName = projectName;
            projectMaster.ProjectCode = projectCode;
            projectMaster.IsActive    = isActive;
            return(projectMaster);
        }
        /// <summary>
        /// Create a new KeyValue object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="languageId">Initial value of the LanguageId property.</param>
        /// <param name="keywordId">Initial value of the KeywordId property.</param>
        /// <param name="value">Initial value of the Value property.</param>
        public static KeyValue CreateKeyValue(global::System.Int64 id, global::System.Int64 languageId, global::System.Int64 keywordId, global::System.String value)
        {
            KeyValue keyValue = new KeyValue();

            keyValue.Id         = id;
            keyValue.LanguageId = languageId;
            keyValue.KeywordId  = keywordId;
            keyValue.Value      = value;
            return(keyValue);
        }
Пример #5
0
        /// <summary>
        /// Create a new Users_Groups object.
        /// </summary>
        /// <param name="user_groupId">Initial value of the user_groupId property.</param>
        /// <param name="userId">Initial value of the userId property.</param>
        /// <param name="groupId">Initial value of the groupId property.</param>
        /// <param name="groupRole">Initial value of the groupRole property.</param>
        public static Users_Groups CreateUsers_Groups(global::System.Int64 user_groupId, global::System.Int64 userId, global::System.Int32 groupId, global::System.Byte groupRole)
        {
            Users_Groups users_Groups = new Users_Groups();

            users_Groups.user_groupId = user_groupId;
            users_Groups.userId       = userId;
            users_Groups.groupId      = groupId;
            users_Groups.groupRole    = groupRole;
            return(users_Groups);
        }
 /// <summary>
 /// Create a new Order object.
 /// </summary>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 /// <param name="clientID">Initial value of the ClientID property.</param>
 /// <param name="numTable">Initial value of the NumTable property.</param>
 /// <param name="orderDateTime">Initial value of the OrderDateTime property.</param>
 /// <param name="comment">Initial value of the Comment property.</param>
 public static Order CreateOrder(global::System.Int64 orderID, global::System.Int64 clientID, global::System.Int32 numTable, global::System.DateTime orderDateTime, global::System.String comment)
 {
     Order order = new Order();
     order.OrderID = orderID;
     order.ClientID = clientID;
     order.NumTable = numTable;
     order.OrderDateTime = orderDateTime;
     order.Comment = comment;
     return order;
 }
Пример #7
0
        /// <summary>
        /// Create a new Mapping object.
        /// </summary>
        /// <param name="postId">Initial value of the PostId property.</param>
        /// <param name="nNTPMessageNumber">Initial value of the NNTPMessageNumber property.</param>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="postType">Initial value of the PostType property.</param>
        public static Mapping CreateMapping(global::System.Int64 postId, global::System.Int64 nNTPMessageNumber, global::System.Guid id, global::System.Int32 postType)
        {
            Mapping mapping = new Mapping();

            mapping.PostId            = postId;
            mapping.NNTPMessageNumber = nNTPMessageNumber;
            mapping.Id       = id;
            mapping.PostType = postType;
            return(mapping);
        }
Пример #8
0
        /// <summary>
        /// Create a new RoomVariable object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="value">Initial value of the Value property.</param>
        /// <param name="roomId">Initial value of the RoomId property.</param>
        public static RoomVariable CreateRoomVariable(global::System.Int64 id, global::System.String name, global::System.Byte[] value, global::System.Int64 roomId)
        {
            RoomVariable roomVariable = new RoomVariable();

            roomVariable.Id     = id;
            roomVariable.Name   = name;
            roomVariable.Value  = value;
            roomVariable.RoomId = roomId;
            return(roomVariable);
        }
Пример #9
0
        /// <summary>
        /// Create a new Jokes object.
        /// </summary>
        /// <param name="jokeId">Initial value of the JokeId property.</param>
        /// <param name="userId">Initial value of the UserId property.</param>
        /// <param name="joke">Initial value of the Joke property.</param>
        /// <param name="addDate">Initial value of the AddDate property.</param>
        public static Jokes CreateJokes(global::System.Int32 jokeId, global::System.Int64 userId, global::System.String joke, global::System.DateTime addDate)
        {
            Jokes jokes = new Jokes();

            jokes.JokeId  = jokeId;
            jokes.UserId  = userId;
            jokes.Joke    = joke;
            jokes.AddDate = addDate;
            return(jokes);
        }
Пример #10
0
        /// <summary>
        /// Create a new UserVariable object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="value">Initial value of the Value property.</param>
        /// <param name="userId">Initial value of the UserId property.</param>
        public static UserVariable CreateUserVariable(global::System.Int64 id, global::System.String name, global::System.Byte[] value, global::System.Int64 userId)
        {
            UserVariable userVariable = new UserVariable();

            userVariable.Id     = id;
            userVariable.Name   = name;
            userVariable.Value  = value;
            userVariable.UserId = userId;
            return(userVariable);
        }
Пример #11
0
        /// <summary>
        /// Create a new Plugin object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="handle">Initial value of the Handle property.</param>
        /// <param name="extensionId">Initial value of the ExtensionId property.</param>
        /// <param name="roomId">Initial value of the RoomId property.</param>
        public static Plugin CreatePlugin(global::System.Int64 id, global::System.String handle, global::System.Int64 extensionId, global::System.Int64 roomId)
        {
            Plugin plugin = new Plugin();

            plugin.Id          = id;
            plugin.Handle      = handle;
            plugin.ExtensionId = extensionId;
            plugin.RoomId      = roomId;
            return(plugin);
        }
Пример #12
0
        /// <summary>
        /// Create a new location object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        /// <param name="city">Initial value of the city property.</param>
        /// <param name="country">Initial value of the country property.</param>
        /// <param name="timezone">Initial value of the timezone property.</param>
        public static location Createlocation(global::System.Int64 id, global::System.String city, global::System.String country, global::System.Int32 timezone)
        {
            location location = new location();

            location.id       = id;
            location.city     = city;
            location.country  = country;
            location.timezone = timezone;
            return(location);
        }
Пример #13
0
        /// <summary>
        /// Create a new comment object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        /// <param name="description">Initial value of the description property.</param>
        /// <param name="event_id">Initial value of the event_id property.</param>
        /// <param name="user_id">Initial value of the user_id property.</param>
        public static comment Createcomment(global::System.Int64 id, global::System.String description, global::System.Int32 event_id, global::System.Int32 user_id)
        {
            comment comment = new comment();

            comment.id          = id;
            comment.description = description;
            comment.event_id    = event_id;
            comment.user_id     = user_id;
            return(comment);
        }
Пример #14
0
        /// <summary>
        /// Создание нового объекта Ciphers_Table.
        /// </summary>
        /// <param name="id">Исходное значение свойства ID.</param>
        /// <param name="cycle">Исходное значение свойства Cycle.</param>
        /// <param name="current_pos">Исходное значение свойства Current_pos.</param>
        /// <param name="start_set">Исходное значение свойства Start_set.</param>
        public static Ciphers_Table CreateCiphers_Table(global::System.Int64 id, global::System.String cycle, global::System.String current_pos, global::System.String start_set)
        {
            Ciphers_Table ciphers_Table = new Ciphers_Table();

            ciphers_Table.ID          = id;
            ciphers_Table.Cycle       = cycle;
            ciphers_Table.Current_pos = current_pos;
            ciphers_Table.Start_set   = start_set;
            return(ciphers_Table);
        }
Пример #15
0
        /// <summary>
        /// Create a new BusinessAttribute object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="userId">Initial value of the UserId property.</param>
        /// <param name="industryId">Initial value of the IndustryId property.</param>
        /// <param name="placeId">Initial value of the PlaceId property.</param>
        public static BusinessAttribute CreateBusinessAttribute(global::System.Int64 id, global::System.Guid userId, global::System.Int64 industryId, global::System.Int64 placeId)
        {
            BusinessAttribute businessAttribute = new BusinessAttribute();

            businessAttribute.Id         = id;
            businessAttribute.UserId     = userId;
            businessAttribute.IndustryId = industryId;
            businessAttribute.PlaceId    = placeId;
            return(businessAttribute);
        }
Пример #16
0
        /// <summary>
        /// 创建新的 t_MassData 对象。
        /// </summary>
        /// <param name="id">ID 属性的初始值。</param>
        /// <param name="num">Num 属性的初始值。</param>
        /// <param name="content">Content 属性的初始值。</param>
        /// <param name="modifyDate">ModifyDate 属性的初始值。</param>
        public static t_MassData Createt_MassData(global::System.Int64 id, global::System.Int64 num, global::System.String content, global::System.DateTime modifyDate)
        {
            t_MassData t_MassData = new t_MassData();

            t_MassData.ID         = id;
            t_MassData.Num        = num;
            t_MassData.Content    = content;
            t_MassData.ModifyDate = modifyDate;
            return(t_MassData);
        }
Пример #17
0
        /// <summary>
        /// Create a new CompetitorAttribute object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="userId">Initial value of the UserId property.</param>
        /// <param name="industryId">Initial value of the IndustryId property.</param>
        /// <param name="placeId">Initial value of the PlaceId property.</param>
        public static CompetitorAttribute CreateCompetitorAttribute(global::System.Int64 id, global::System.Guid userId, global::System.Int64 industryId, global::System.Int64 placeId)
        {
            CompetitorAttribute competitorAttribute = new CompetitorAttribute();

            competitorAttribute.Id         = id;
            competitorAttribute.UserId     = userId;
            competitorAttribute.IndustryId = industryId;
            competitorAttribute.PlaceId    = placeId;
            return(competitorAttribute);
        }
Пример #18
0
        /// <summary>
        /// Create a new ServiceArea object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="aPIKeyId">Initial value of the APIKeyId property.</param>
        /// <param name="geographicLocationId">Initial value of the GeographicLocationId property.</param>
        /// <param name="granularityId">Initial value of the GranularityId property.</param>
        public static ServiceArea CreateServiceArea(global::System.Int64 id, global::System.Int64 aPIKeyId, global::System.Int64 geographicLocationId, global::System.Int64 granularityId)
        {
            ServiceArea serviceArea = new ServiceArea();

            serviceArea.Id                   = id;
            serviceArea.APIKeyId             = aPIKeyId;
            serviceArea.GeographicLocationId = geographicLocationId;
            serviceArea.GranularityId        = granularityId;
            return(serviceArea);
        }
Пример #19
0
        /// <summary>
        /// Create a new User object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="email">Initial value of the email property.</param>
        /// <param name="password">Initial value of the Password property.</param>
        public static User CreateUser(global::System.Int64 id, global::System.String name, global::System.String email, global::System.String password)
        {
            User user = new User();

            user.Id       = id;
            user.Name     = name;
            user.email    = email;
            user.Password = password;
            return(user);
        }
Пример #20
0
        /// <summary>
        /// Create a new APIKey object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="keyValue">Initial value of the KeyValue property.</param>
        /// <param name="isActive">Initial value of the IsActive property.</param>
        public static APIKey CreateAPIKey(global::System.Int64 id, global::System.String name, global::System.Guid keyValue, global::System.Boolean isActive)
        {
            APIKey aPIKey = new APIKey();

            aPIKey.Id       = id;
            aPIKey.Name     = name;
            aPIKey.KeyValue = keyValue;
            aPIKey.IsActive = isActive;
            return(aPIKey);
        }
Пример #21
0
        /// <summary>
        /// Create a new UserAge object.
        /// </summary>
        /// <param name="userId">Initial value of the UserId property.</param>
        /// <param name="firstName">Initial value of the FirstName property.</param>
        /// <param name="lastName">Initial value of the LastName property.</param>
        /// <param name="dateOfBirth">Initial value of the DateOfBirth property.</param>
        public static UserAge CreateUserAge(global::System.Int64 userId, global::System.String firstName, global::System.String lastName, global::System.DateTime dateOfBirth)
        {
            UserAge userAge = new UserAge();

            userAge.UserId      = userId;
            userAge.FirstName   = firstName;
            userAge.LastName    = lastName;
            userAge.DateOfBirth = dateOfBirth;
            return(userAge);
        }
Пример #22
0
        /// <summary>
        /// Creare un nuovo oggetto TitheLog.
        /// </summary>
        /// <param name="titheLogId">Valore iniziale della proprietà TitheLogId.</param>
        /// <param name="titheDate">Valore iniziale della proprietà TitheDate.</param>
        /// <param name="dateEntered">Valore iniziale della proprietà DateEntered.</param>
        /// <param name="titheAmount">Valore iniziale della proprietà TitheAmount.</param>
        public static TitheLog CreateTitheLog(global::System.Int64 titheLogId, global::System.DateTime titheDate, global::System.DateTime dateEntered, global::System.Decimal titheAmount)
        {
            TitheLog titheLog = new TitheLog();

            titheLog.TitheLogId  = titheLogId;
            titheLog.TitheDate   = titheDate;
            titheLog.DateEntered = dateEntered;
            titheLog.TitheAmount = titheAmount;
            return(titheLog);
        }
        /// <summary>
        /// Create a new StateRegion object.
        /// </summary>
        /// <param name="id">Initial value of the ID property.</param>
        /// <param name="fullName">Initial value of the FullName property.</param>
        /// <param name="abbreviation">Initial value of the Abbreviation property.</param>
        /// <param name="regionType">Initial value of the RegionType property.</param>
        public static StateRegion CreateStateRegion(global::System.Int64 id, global::System.String fullName, global::System.String abbreviation, global::System.Int16 regionType)
        {
            StateRegion stateRegion = new StateRegion();

            stateRegion.ID           = id;
            stateRegion.FullName     = fullName;
            stateRegion.Abbreviation = abbreviation;
            stateRegion.RegionType   = regionType;
            return(stateRegion);
        }
        /// <summary>
        /// Create a new Monto object.
        /// </summary>
        /// <param name="pagoId">Initial value of the PagoId property.</param>
        /// <param name="disciplinaId">Initial value of the DisciplinaId property.</param>
        /// <param name="montoParcial">Initial value of the MontoParcial property.</param>
        /// <param name="id">Initial value of the Id property.</param>
        public static Monto CreateMonto(global::System.Int64 pagoId, global::System.Int64 disciplinaId, global::System.Double montoParcial, global::System.Int64 id)
        {
            Monto monto = new Monto();

            monto.PagoId       = pagoId;
            monto.DisciplinaId = disciplinaId;
            monto.MontoParcial = montoParcial;
            monto.Id           = id;
            return(monto);
        }
Пример #25
0
        /// <summary>
        /// Create a new userhunt object.
        /// </summary>
        /// <param name="userHuntId">Initial value of the UserHuntId property.</param>
        /// <param name="userId">Initial value of the UserId property.</param>
        /// <param name="huntId">Initial value of the HuntId property.</param>
        /// <param name="userRoleId">Initial value of the UserRoleId property.</param>
        public static userhunt Createuserhunt(global::System.Int64 userHuntId, global::System.Int64 userId, global::System.Int64 huntId, global::System.Int64 userRoleId)
        {
            userhunt userhunt = new userhunt();

            userhunt.UserHuntId = userHuntId;
            userhunt.UserId     = userId;
            userhunt.HuntId     = huntId;
            userhunt.UserRoleId = userRoleId;
            return(userhunt);
        }
        /// <summary>
        /// Create a new Socio object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="nombre">Initial value of the Nombre property.</param>
        /// <param name="fechaInscripcion">Initial value of the FechaInscripcion property.</param>
        /// <param name="edad">Initial value of the Edad property.</param>
        public static Socio CreateSocio(global::System.Int64 id, global::System.String nombre, global::System.DateTime fechaInscripcion, global::System.Int64 edad)
        {
            Socio socio = new Socio();

            socio.Id               = id;
            socio.Nombre           = nombre;
            socio.FechaInscripcion = fechaInscripcion;
            socio.Edad             = edad;
            return(socio);
        }
Пример #27
0
        /// <summary>
        /// Create a new user object.
        /// </summary>
        /// <param name="userId">Initial value of the UserId property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="email">Initial value of the Email property.</param>
        /// <param name="password">Initial value of the Password property.</param>
        public static user Createuser(global::System.Int64 userId, global::System.String name, global::System.String email, global::System.String password)
        {
            user user = new user();

            user.UserId   = userId;
            user.Name     = name;
            user.Email    = email;
            user.Password = password;
            return(user);
        }
Пример #28
0
        /// <summary>
        /// Erstellt ein neues TranslationText-Objekt.
        /// </summary>
        /// <param name="translationTextID">Anfangswert der Eigenschaft TranslationTextID.</param>
        /// <param name="translationID">Anfangswert der Eigenschaft TranslationID.</param>
        /// <param name="cultureID">Anfangswert der Eigenschaft CultureID.</param>
        /// <param name="createdDate">Anfangswert der Eigenschaft CreatedDate.</param>
        public static TranslationText CreateTranslationText(global::System.Int64 translationTextID, global::System.Int64 translationID, global::System.Int32 cultureID, global::System.DateTime createdDate)
        {
            TranslationText translationText = new TranslationText();

            translationText.TranslationTextID = translationTextID;
            translationText.TranslationID     = translationID;
            translationText.CultureID         = cultureID;
            translationText.CreatedDate       = createdDate;
            return(translationText);
        }
Пример #29
0
        /// <summary>
        /// Create a new Synapse_Security_User object.
        /// </summary>
        /// <param name="id">Initial value of the ID property.</param>
        /// <param name="uSERID">Initial value of the USERID property.</param>
        /// <param name="fIRSTNAME">Initial value of the FIRSTNAME property.</param>
        /// <param name="lASTNAME">Initial value of the LASTNAME property.</param>
        public static Synapse_Security_User CreateSynapse_Security_User(global::System.Int64 id, global::System.String uSERID, global::System.String fIRSTNAME, global::System.String lASTNAME)
        {
            Synapse_Security_User synapse_Security_User = new Synapse_Security_User();

            synapse_Security_User.ID        = id;
            synapse_Security_User.USERID    = uSERID;
            synapse_Security_User.FIRSTNAME = fIRSTNAME;
            synapse_Security_User.LASTNAME  = lASTNAME;
            return(synapse_Security_User);
        }
Пример #30
0
        /// <summary>
        /// Create a new Tweet object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        /// <param name="post">Initial value of the Post property.</param>
        /// <param name="postDate">Initial value of the PostDate property.</param>
        /// <param name="userID">Initial value of the UserID property.</param>
        public static Tweet CreateTweet(global::System.Int64 id, global::System.String post, global::System.DateTime postDate, global::System.Int32 userID)
        {
            Tweet tweet = new Tweet();

            tweet.id       = id;
            tweet.Post     = post;
            tweet.PostDate = postDate;
            tweet.UserID   = userID;
            return(tweet);
        }