Esempio n. 1
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);
        }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the APIKeys EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAPIKeys(APIKey aPIKey)
 {
     base.AddObject("APIKeys", aPIKey);
 }