Ejemplo n.º 1
0
        /// <summary>
        /// Create a new APIKeyRoleMapping object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="aPIKeyId">Initial value of the APIKeyId property.</param>
        /// <param name="roleId">Initial value of the RoleId property.</param>
        public static APIKeyRoleMapping CreateAPIKeyRoleMapping(global::System.Int64 id, global::System.Int64 aPIKeyId, global::System.Int64 roleId)
        {
            APIKeyRoleMapping aPIKeyRoleMapping = new APIKeyRoleMapping();

            aPIKeyRoleMapping.Id       = id;
            aPIKeyRoleMapping.APIKeyId = aPIKeyId;
            aPIKeyRoleMapping.RoleId   = roleId;
            return(aPIKeyRoleMapping);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the APIKeyRoleMappings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAPIKeyRoleMappings(APIKeyRoleMapping aPIKeyRoleMapping)
 {
     base.AddObject("APIKeyRoleMappings", aPIKeyRoleMapping);
 }